Skip to content

Commit

Permalink
Disabled deprecated python 2 from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Barberio <[email protected]>
  • Loading branch information
insomniacslk committed Aug 28, 2024
1 parent 409cedb commit a4fc61d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ['2.7', '3.7', '3.8', '3.9']
python: ['3.7', '3.8', '3.9']
os: ['ubuntu-latest']
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
matrix:
# pytest for python2 was dropped in Ubuntu 20.10, so cannot test it
# here.
python: ['2.7', '3.7', '3.8', '3.9']
python: ['3.7', '3.8', '3.9']
os: ['ubuntu-latest']
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -91,7 +91,9 @@ jobs:
pip install -r testing_requirements.txt
- name: run unit tests
run: python setup.py test
- uses: codecov/codecov-action@v1
- uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: unittests
fail_ci_if_error: true
Expand Down

0 comments on commit a4fc61d

Please sign in to comment.