File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,29 +3,28 @@ name: Run tests and upload coverage
33on : push
44
55jobs :
6- test :
7- name : Run tests and collect coverage
8- runs-on : ubuntu-latest
9- steps :
10- - name : Checkout code
11- uses : actions/checkout@v4
12- with :
13- fetch-depth : 2
6+ test :
7+ name : Run tests and collect coverage
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 2
1414
15- - name : Set up Python
16- uses : actions/setup-python@v6
17- with :
18- python-version : " 3.13"
19- cache : " uv"
15+ - name : Set up uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ python-version : " 3.13"
2019
21- - name : Install dependencies
22- run : uv pip install -e .[dev]
20+ - name : Install dependencies
21+ run : uv pip install -e .[dev]
2322
24- - name : Run tests with coverage
25- run : uv run pytest --cov --cov-branch --cov-report=xml
23+ - name : Run tests with coverage
24+ run : uv run pytest --cov --cov-branch --cov-report=xml
2625
27- - name : Upload coverage to Codecov
28- uses : codecov/codecov-action@v5
29- with :
30- token : ${{ secrets.CODECOV_TOKEN }}
31- slug : ${{ github.repository }}
26+ - name : Upload coverage to Codecov
27+ uses : codecov/codecov-action@v5
28+ with :
29+ token : ${{ secrets.CODECOV_TOKEN }}
30+ slug : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments