Skip to content

Commit

Permalink
.github/workflows/lint+test.yml: update for ubuntu-latest
Browse files Browse the repository at this point in the history
Several of the Python platforms which used to work no longer exist for ubuntu-latest

Also, update actions to their latest versions (checkout@v3, setup-python@v4)
  • Loading branch information
tripleee authored and Manishearth committed Oct 23, 2023
1 parent 12b3cc6 commit 011862c
Showing 1 changed file with 9 additions and 53 deletions.
62 changes: 9 additions & 53 deletions .github/workflows/lint+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
strategy:
matrix:
python-version:
- '2.7'
# - '2.7'
# - '3.4'
- '3.5'
- '3.6'
- '3.7'
# - '3.5'
# - '3.6'
# - '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand All @@ -28,61 +28,17 @@ jobs:
- 'pypy-3.6'
- 'pypy-3.7'
- 'pypy-3.8'
# - 'pypy-3.9'
# - 'pypy-3.10'
- 'pypy-3.9'
- 'pypy-3.10'
architecture:
- 'x86'
# - 'x86'
- 'x64'
# Some versions lack specific architecture on Linux on GH Actions
exclude:
- python-version: '2.7'
architecture: 'x86'
- python-version: 'pypy-2.7'
architecture: 'x86'
# - python-version: '3.4'
# architecture: 'x86'
# - python-version: '3.4'
# architecture: 'x64'
# - python-version: 'pypy-3.4'
# architecture: 'x86'
# - python-version: 'pypy-3.4'
# architecture: 'x64'
- python-version: '3.5'
architecture: 'x86'
# - python-version: 'pypy-3.5'
# architecture: 'x86'
# - python-version: 'pypy-3.5'
# architecture: 'x64'
- python-version: '3.6'
architecture: 'x86'
- python-version: 'pypy-3.6'
architecture: 'x86'
- python-version: '3.7'
architecture: 'x86'
- python-version: 'pypy-3.7'
architecture: 'x86'
- python-version: '3.8'
architecture: 'x86'
- python-version: 'pypy-3.8'
architecture: 'x86'
- python-version: '3.9'
architecture: 'x86'
# - python-version: 'pypy-3.9'
# architecture: 'x86'
# - python-version: 'pypy-3.9'
# architecture: 'x64'
- python-version: '3.10'
architecture: 'x86'
# - python-version: 'pypy-3.10'
# architecture: 'x86'
# - python-version: 'pypy-3.10'
# architecture: 'x64'

name: Python ${{ matrix.python-version }} ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup python matrix
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand Down

0 comments on commit 011862c

Please sign in to comment.