-
-
Notifications
You must be signed in to change notification settings - Fork 41
64 lines (53 loc) · 1.7 KB
/
tox-tests.yml
File metadata and controls
64 lines (53 loc) · 1.7 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# GitHub Actions workflow for testing and continuous integration.
#
# This file performs testing using tox and tox.ini to define and configure the test environments.
name: Python Tests
on:
push:
branches:
- main
tags:
- '*'
pull_request:
schedule:
# run every Monday at 6am UTC
- cron: '0 6 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@99401c364fa51c9c507d3cd6d272049278ac0b2c # v2.4.0
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
with:
submodules: false
coverage: ''
envs: |
- name: Codestyle
linux: codestyle
- name: Python 3.11 on Linux with oldest supported dependencies
linux: py311-test-oldestdeps
toxargs: -v
- name: Python 3.12 on OSX with minimal dependencies
macos: py312-test
toxargs: -v
- name: Python 3.12 on Windows with minimal dependencies
windows: py312-test
toxargs: -v
- name: Python 3.12 on Linux with minimal dependencies
linux: py312-test
toxargs: -v
- name: Python 3.13 on Linux with minimal dependencies
linux: py313-test
toxargs: -v
- name: Python 3.14 on Linux with all dependencies, remote data, and coverage
linux: py314-test-alldeps-cov
coverage: codecov
toxargs: -v
posargs: --remote-data=any
- name: (Allowed Failure) Python 3.14 on Linux with dev dependencies
linux: py314-test-devdeps-cov
coverage: codecov
toxargs: -v