Skip to content

Commit

Permalink
Restore Python 2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pganssle committed Dec 23, 2023
1 parent c690643 commit 356477d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,26 @@ jobs:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
exclude:
- python-version: "2.7"
os: "ubuntu-latest"
os: "windows-latest"
- python-version: "2.7"
os: "macos-latest"
- python-version: "3.6"
os: "ubuntu-latest"
include:
- python-version: "2.7"
os: "ubuntu-20.04"
- python-version: "3.6"
os: "ubuntu-20.04"
env:
TOXENV: py

steps:
- uses: actions/checkout@v3
- name: ${{ matrix.python-version }} - ${{ matrix.os }}
- if: ${{ matrix.python-version == '2.7' }}
run: |
sudo apt-get install python-is-python2
curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python get-pip.py
- if: ${{ matrix.python-version != '2.7' }}
name: ${{ matrix.python-version }} - ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand Down

0 comments on commit 356477d

Please sign in to comment.