@@ -3,30 +3,52 @@ name: CI
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- build :
7
- uses : OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
8
- with :
9
- envs : |
10
- - linux: build-dist
11
- - linux: build-docs
12
6
test :
13
- uses : OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
14
- with :
15
- envs : |
16
- - linux: test-xdist
17
- python-version: "3.7"
18
- - linux: test-xdist
19
- python-version: "pypy3.7"
20
- - linux: test-mindeps-xdist
21
- python-version: "3.8"
22
- - linux: test-xdist
23
- python-version: "pypy3.8"
24
- - linux: test-xdist
25
- python-version: "3.10"
26
- - linux: test-xdist
27
- python-version: "3.11"
28
- - macos: test-xdist
29
- python-version: "3.11"
30
- - linux: test-devdeps-xdist
31
- - linux: test-xdist-cov
32
- coverage: codecov
7
+ name : ${{ matrix.toxenv }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }})
8
+ runs-on : ${{ matrix.runs-on }}
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ runs-on : ["ubuntu-latest"]
13
+ python-version : ["3.7", "3.8", "pypy3.8", "3.10", "3.11"]
14
+ toxenv : ["test-xdist"]
15
+ include :
16
+ - runs-on : ubuntu-latest
17
+ python-version : " 3.8"
18
+ toxenv : test-mindeps-xdist
19
+ - runs-on : ubuntu-latest
20
+ python-version : " 3.11"
21
+ toxenv : test-devdeps-xdist
22
+ - runs-on : ubuntu-latest
23
+ python-version : " 3.x"
24
+ toxenv : test-xdist-cov
25
+ - runs-on : macos-latest
26
+ python-version : " 3.x"
27
+ toxenv : test-xdist-cov
28
+ steps :
29
+ - uses : actions/checkout@v3
30
+ - uses : actions/setup-python@v4
31
+ with :
32
+ python-version : ${{ matrix.python-version }}
33
+ cache : pip
34
+ cache-dependency-path : pyproject.toml
35
+ - run : pip install tox
36
+ - run : tox -e ${{ matrix.toxenv }}
37
+ build :
38
+ name : ${{ matrix.toxenv }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }})
39
+ runs-on : ${{ matrix.runs-on }}
40
+ strategy :
41
+ fail-fast : false
42
+ matrix :
43
+ runs-on : ["ubuntu-latest"]
44
+ python-version : ["3.x"]
45
+ toxenv : ["build-docs", "build-dist"]
46
+ steps :
47
+ - uses : actions/checkout@v3
48
+ - uses : actions/setup-python@v4
49
+ with :
50
+ python-version : ${{ matrix.python-version }}
51
+ cache : pip
52
+ cache-dependency-path : pyproject.toml
53
+ - run : pip install tox
54
+ - run : tox -e ${{ matrix.toxenv }}
0 commit comments