-
Notifications
You must be signed in to change notification settings - Fork 6
43 lines (39 loc) · 936 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: pip install pre-commit poetry
- name: Run pre-commit checks
run: pre-commit run --all-files
tox:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
coverage: 'codecov'
envs: |
- linux: py38
- linux: py39
- linux: py310
- linux: py311
- linux: py312
- macos: py38
- macos: py39
- macos: py310
- macos: py311
- macos: py312
- windows: py38
- windows: py39
- windows: py310
- windows: py311
- windows: py312