Skip to content

Commit af4f223

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

File tree

1 file changed

+46
-26
lines changed

1 file changed

+46
-26
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,50 @@ 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+
runs-on: ${{ matrix.runs-on }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
runs-on: ["ubuntu-latest"]
12+
python-version: ["3.7", "3.8", "pypy3.8", "3.10", "3.11"]
13+
toxenv: ["test-xdist"]
14+
include:
15+
- runs-on: ubuntu-latest
16+
python-version: "3.8"
17+
toxenv: test-mindeps-xdist
18+
- runs-on: ubuntu-latest
19+
python-version: "3.11"
20+
toxenv: test-devdeps-xdist
21+
- runs-on: ubuntu-latest
22+
python-version: "3.x"
23+
toxenv: test-xdist-cov
24+
- runs-on: macos-latest
25+
python-version: "3.x"
26+
toxenv: test-xdist-cov
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-python@v4
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
cache: pip
33+
cache-dependency-path: pyproject.toml
34+
- run: pip install tox
35+
- run: tox -e ${{ matrix.toxenv }}
36+
build:
37+
runs-on: ${{ matrix.runs-on }}
38+
strategy:
39+
fail-fast: false
40+
matrix:
41+
runs-on: ["ubuntu-latest"]
42+
python-version: ["3.x"]
43+
toxenv: ["build-docs", "build-dist"]
44+
steps:
45+
- uses: actions/checkout@v3
46+
- uses: actions/setup-python@v4
47+
with:
48+
python-version: ${{ matrix.python-version }}
49+
cache: pip
50+
cache-dependency-path: pyproject.toml
51+
- run: pip install tox
52+
- run: tox -e ${{ matrix.toxenv }}

0 commit comments

Comments
 (0)