feat: add support for SQLModel (#18) #192
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
jobs: | |
Tests: | |
strategy: | |
matrix: | |
tox_env: [default, sqlmodel] | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 checkout | |
uses: actions/checkout@v4 | |
- name: 🔧 setup tox-uv | |
uses: ./.github/tox-uv | |
- name: 🧪 tox -e ${{ matrix.tox_env }} | |
run: uv run tox -e ${{ matrix.tox_env }} | |
- name: "🐔 codecov: upload test coverage" | |
uses: codecov/[email protected] | |
with: | |
flags: ${{ matrix.tox_env }} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
Ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📥 checkout | |
uses: actions/checkout@v4 | |
- name: 🔧 setup uv | |
uses: ./.github/uv | |
- name: 🐶 ruff | |
run: uv run ruff check |