Skip to content

Commit 56d698c

Browse files
committed
Updated CI configuration
1 parent e006ea1 commit 56d698c

File tree

2 files changed

+22
-43
lines changed

2 files changed

+22
-43
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 16 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,45 +9,19 @@ on:
99

1010
jobs:
1111
tests:
12-
runs-on: ${{ matrix.os }}
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
include:
17-
- os: ubuntu-latest
18-
python-version: 3.7
19-
toxenv: py37-test-pytest46
20-
- os: windows-latest
21-
python-version: 3.7
22-
toxenv: py37-test-pytest50
23-
- os: macos-latest
24-
python-version: 3.8
25-
toxenv: py38-test-pytest52
26-
- os: ubuntu-latest
27-
python-version: 3.8
28-
toxenv: py38-test-pytest53
29-
- os: windows-latest
30-
python-version: 3.9
31-
toxenv: py39-test-pytest60
32-
- os: macos-latest
33-
python-version: 3.9
34-
toxenv: py39-test-pytest61
35-
- os: ubuntu-latest
36-
python-version: '3.10'
37-
toxenv: py310-test-pytest62
38-
- os: ubuntu-latest
39-
python-version: '3.10'
40-
toxenv: py310-test-pytestdev
41-
42-
steps:
43-
- uses: actions/checkout@v2
44-
with:
45-
fetch-depth: 0
46-
- name: Set up Python ${{ matrix.python-version }}
47-
uses: actions/setup-python@v2
48-
with:
49-
python-version: ${{ matrix.python-version }}
50-
- name: Install tox
51-
run: python -m pip install tox
52-
- name: Run tox
53-
run: tox -v -e ${{ matrix.toxenv }}
12+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
13+
with:
14+
envs: |
15+
- linux: py38-test-pytest46
16+
- macos: py38-test-pytest50
17+
- windows: py38-test-pytest52
18+
- linux: py38-test-pytest53
19+
- macos: py39-test-pytest60
20+
- windows: py39-test-pytest61
21+
- linux: py39-test-pytest62
22+
- macos: py310-test-pytest70
23+
- windows: py310-test-pytest71
24+
- linux: py310-test-pytest72
25+
- macos: py310-test-pytest73
26+
- windows: py311-test-pytest74
27+
- linux: py311-test-pytestdev

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-test{,-devdeps}
3+
py{38,39,310,311}-test{,-devdeps}
44
codestyle
55
requires =
66
setuptools >= 30.3.0
@@ -18,6 +18,11 @@ deps =
1818
pytest60: pytest==6.0.*
1919
pytest61: pytest==6.1.*
2020
pytest62: pytest==6.2.*
21+
pytest70: pytest==7.0.*
22+
pytest71: pytest==7.1.*
23+
pytest72: pytest==7.2.*
24+
pytest73: pytest==7.3.*
25+
pytest74: pytest==7.4.*
2126
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
2227
extras =
2328
test

0 commit comments

Comments
 (0)