Skip to content

Commit bf43c3f

Browse files
committed
Update CI pipeline commands now we can pip install
While we are updating the pipeline, use latest actions from the marketplace and test with all currently supported versions of python.
1 parent ed57311 commit bf43c3f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,24 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ['3.10', '3.11', '3.12']
15+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
python -m pip install pytest coverage
27-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
pip install -e .
2827
- name: Test with pytest
2928
run: |
3029
coverage run -m pytest -v && coverage xml
3130
- name: Upload coverage to Codecov
32-
if: ${{ matrix.python-version == '3.12' }}
33-
uses: codecov/codecov-action@v3
31+
if: ${{ matrix.python-version == '3.13' }}
32+
uses: codecov/codecov-action@v5
3433
with:
3534
token: ${{ secrets.CODECOV_TOKEN }}
3635
fail_ci_if_error: true

0 commit comments

Comments
 (0)