Skip to content

Commit

Permalink
Updated CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Sep 11, 2023
1 parent e006ea1 commit 56d698c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 43 deletions.
58 changes: 16 additions & 42 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,45 +9,19 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: 3.7
toxenv: py37-test-pytest46
- os: windows-latest
python-version: 3.7
toxenv: py37-test-pytest50
- os: macos-latest
python-version: 3.8
toxenv: py38-test-pytest52
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytest53
- os: windows-latest
python-version: 3.9
toxenv: py39-test-pytest60
- os: macos-latest
python-version: 3.9
toxenv: py39-test-pytest61
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytest62
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytestdev

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install tox
- name: Run tox
run: tox -v -e ${{ matrix.toxenv }}
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: py38-test-pytest46
- macos: py38-test-pytest50
- windows: py38-test-pytest52
- linux: py38-test-pytest53
- macos: py39-test-pytest60
- windows: py39-test-pytest61
- linux: py39-test-pytest62
- macos: py310-test-pytest70
- windows: py310-test-pytest71
- linux: py310-test-pytest72
- macos: py310-test-pytest73
- windows: py311-test-pytest74
- linux: py311-test-pytestdev
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{37,38,39,310}-test{,-devdeps}
py{38,39,310,311}-test{,-devdeps}
codestyle
requires =
setuptools >= 30.3.0
Expand All @@ -18,6 +18,11 @@ deps =
pytest60: pytest==6.0.*
pytest61: pytest==6.1.*
pytest62: pytest==6.2.*
pytest70: pytest==7.0.*
pytest71: pytest==7.1.*
pytest72: pytest==7.2.*
pytest73: pytest==7.3.*
pytest74: pytest==7.4.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
extras =
test
Expand Down

0 comments on commit 56d698c

Please sign in to comment.