Skip to content

Commit 9f29477

Browse files
committed
gitlab ci updates for Python 3.7
1 parent 6c0cdb8 commit 9f29477

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v4
1010
- name: Set up Python 3.12
11-
uses: actions/setup-python@v4
11+
uses: actions/setup-python@v5
1212
with:
1313
python-version: 3.12
1414
- name: Setup and install tools
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v4
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
- name: Setup build and test environment
@@ -38,10 +38,6 @@ jobs:
3838
- name: Build Python Package
3939
run: |
4040
python -m pip install -r requirements-dev.txt
41-
- name: Update pytest on >= Python3.10
42-
if: ${{ matrix.python-version == '3.12' }}
43-
run: |
44-
python -m pip install pytest==7.0.1
4541
- name: Unit Test with pytest
4642
run: |
4743
coverage run -p --source radish -m pytest tests/unit/ --junitxml=junit/unit-test-results.xml
@@ -62,7 +58,7 @@ jobs:
6258
- name: Upload coverage to Codecov
6359
# codecov only runs on Linux
6460
if: startsWith(matrix.os, 'ubuntu-')
65-
uses: codecov/codecov-action@v3
61+
uses: codecov/codecov-action@v4
6662
with:
6763
token: ${{ secrets.CODECOV_TOKEN }}
6864
file: ./coverage.xml

0 commit comments

Comments
 (0)