Skip to content

Commit

Permalink
Attempt to use older Ubuntu to run tests against Python 2.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Nov 12, 2023
1 parent 2c14ab5 commit 6802887
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,24 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
- deadsnakes: true
version: "2.7"
- deadsnakes: true
version: "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
# - "pypy2.7"
# - "pypy3.9"

os: ["ubuntu-latest"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- os: "ubuntu-20.04"
python-version: "2.7"
- os: "ubuntu-20.04"
python-version: "pypy2.7"
- os: "ubuntu-20.04"
python-version: "pypy3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
if: "!matrix.python-version.deadsnakes"
with:
python-version: ${{ matrix.python-version }}

- name: Set up Deadsnakes Python ${{ matrix.python-version.version }}
uses: deadsnakes/[email protected]
if: "matrix.python-version.deadsnakes"
with:
python-version: ${{ matrix.python-version.version }}

- name: Run test suite
run: |
python setup.py test

0 comments on commit 6802887

Please sign in to comment.