File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,28 +11,30 @@ jobs:
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- python-version : [3.12 ]
14+ python-version : [ "3.14" ]
1515
1616 steps :
17- - uses : actions/checkout@v3
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+
20+ - name : Install uv
21+ uses : astral-sh/setup-uv@v3
1822
1923 - name : Set up Python
20- uses : actions/setup-python@v4
24+ uses : actions/setup-python@v5
2125 with :
2226 python-version : ${{ matrix.python-version }}
2327
24- - name : Install dependencies
28+ - name : Install dependencies from uv.lock
2529 run : |
26- python -m pip install --upgrade pip
27- pip install -r requirements.txt
28- pip install pytest
30+ uv sync --frozen --dev
2931
3032 - name : Run tests with coverage
3133 run : |
32- pytest --cov=moddata tests/
33- coverage xml
34+ uv run pytest --cov=moddata tests/
35+ uv run coverage xml
3436
3537 - name : Upload coverage to Codecov
36- uses : codecov/codecov-action@v3
38+ uses : codecov/codecov-action@v4
3739 with :
38- token : ${{ secrets.CODECOV_TOKEN }} # only needed for private repos
40+ token : ${{ secrets.CODECOV_TOKEN }} # only needed for private repos
You can’t perform that action at this time.
0 commit comments