Skip to content

Commit

Permalink
Drop old interpreter versions from CI (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
aklajnert authored Jul 23, 2024
1 parent c0f7058 commit b25c62f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,17 @@ jobs:
max-parallel: 4
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.8']
python-version: [ '3.8', '3.9', '3.10', '3.11', 'pypy3.8']

steps:
- uses: actions/checkout@v3

- name: Install Python 3.6
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.6'
run: |
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
- name: Setup Nox
if: matrix.platform != 'ubuntu-latest' || matrix.python-version != '3.6'
uses: wntrblm/nox@2023.04.22
with:
python-versions: ${{ matrix.python-version }}
- name: Run tests
if: matrix.python-version != '3.6'
run: |
nox -s tests-${{ matrix.python-version }}
env:
PLATFORM: ${{ matrix.platform }}
- name: Run tests ubuntu 3.6
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.6'
run: |
sudo apt-get install -y nox
nox -s tests-${{ matrix.python-version }}
env:
PLATFORM: ${{ matrix.platform }}
Expand Down

0 comments on commit b25c62f

Please sign in to comment.