From ee3215ab4d85dae5e2aa8d8a1014b8bfa1e2d9db Mon Sep 17 00:00:00 2001 From: Marcel R Date: Tue, 4 Jul 2023 13:10:22 +0200 Subject: [PATCH] Update legacy tests. --- .github/workflows/lint_and_test.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 96f07f2..840fb47 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -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: @@ -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: