Skip to content

Commit 1d47c2b

Browse files
don't use OpenAstronomy
1 parent 70190eb commit 1d47c2b

File tree

1 file changed

+48
-26
lines changed

1 file changed

+48
-26
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,52 @@ name: CI
33
on: [push, pull_request]
44

55
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
126
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

Comments
 (0)