Skip to content

Commit

Permalink
Update legacy tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jul 4, 2023
1 parent 4340a6f commit ee3215a
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/lint_and_test.yml
Expand Up @@ -80,12 +80,11 @@ jobs:
- name: Test 🎢
run: python -m unittest tests

test_legacy:
test_legacy_py36:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "2.7"
- "3.6"
name: test (python ${{ matrix.python-version }})
steps:
Expand All @@ -107,6 +106,29 @@ jobs:
- name: Test 🎢
run: python -m unittest tests

test_legacy_py27:
runs-on: ubuntu-20.04
container:
image: python:2.7.18-buster
strategy:
matrix:
python-version:
- "2.7"
name: test (python ${{ matrix.python-version }})
steps:
- name: Checkout ⬇️
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install dependencies ☕️
run: |
pip install -U pip
pip install -r requirements_test.txt
- name: Test 🎢
run: python -m unittest tests

coverage:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit ee3215a

Please sign in to comment.