-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (31 loc) · 763 Bytes
/
ci.yml
File metadata and controls
35 lines (31 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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/codecov-action@v4.2.0
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