Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #104 from dstansby/test-py310
Browse files Browse the repository at this point in the history
Drop Python 3.7 tests, add 3.9 tests
  • Loading branch information
paddyroddy authored Apr 25, 2022
2 parents 4a59add + 4bcb1a4 commit ad03d62
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@ jobs:
- uses: brainglobe/actions/lint@v1

manifest:
needs: linting
name: Check Manifest
runs-on: ubuntu-latest
steps:
- uses: brainglobe/actions/check_manifest@v1

test:
needs: manifest
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
needs: [linting, manifest]
name: ${{ matrix.os }} py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.7, 3.8]
# Run all supported Python versions on linux
python-version: ["3.8", "3.9"]
os: [ubuntu-latest]
# Include one windows and macos run
include:
- os: macos-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.9"

steps:
# Setup pyqt libraries
Expand Down
13 changes: 1 addition & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = py{37,38,39}-{linux,macos,windows}
envlist = py{38,39}

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39

[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows

[testenv]
platform =
macos: darwin
linux: linux
windows: win32
passenv =
CI
GITHUB_ACTIONS
Expand Down

0 comments on commit ad03d62

Please sign in to comment.