-
Notifications
You must be signed in to change notification settings - Fork 8
105 lines (99 loc) · 3.15 KB
/
ci_workflows.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: CI Tests
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
initial_checks:
# Mandatory checks before CI tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
coverage: false
envs: |
# Code style
- linux: codestyle
tests:
needs: initial_checks
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
display: true
coverage: codecov
libraries: |
apt:
- '^libxcb.*-dev'
- libxkbcommon-x11-0
- libegl1-mesa
- libhdf5-dev
envs: |
# Standard tests
- linux: py38-glue113-test
- linux: py38-glue114-test
- linux: py38-glue115-test
- linux: py38-glue116-test
- linux: py38-glue117-test
- linux: py39-glue113-test
- linux: py39-glue114-test
- linux: py39-glue115-test
- linux: py39-glue116-test
- linux: py39-glue117-test
- linux: py310-glue113-test
- linux: py310-glue114-test
- linux: py310-glue115-test
- linux: py310-glue116-test
- linux: py310-glue117-test
- linux: py311-glue113-test
- linux: py311-glue114-test
- linux: py311-glue115-test
- linux: py311-glue116-test
- linux: py311-glue117-test
- macos: py38-glue113-test
- macos: py38-glue114-test
- macos: py38-glue115-test
- macos: py38-glue116-test
- macos: py38-glue117-test
- macos: py39-glue113-test
- macos: py39-glue114-test
- macos: py39-glue115-test
- macos: py39-glue116-test
- macos: py39-glue117-test
- macos: py310-glue113-test
- macos: py310-glue114-test
- macos: py310-glue115-test
- macos: py310-glue116-test
- macos: py310-glue117-test
- macos: py311-glue113-test
- macos: py311-glue114-test
- macos: py311-glue115-test
- macos: py311-glue116-test
- macos: py311-glue117-test
- windows: py38-glue113-test
- windows: py38-glue114-test
- windows: py38-glue115-test
- windows: py38-glue116-test
- windows: py38-glue117-test
- windows: py39-glue113-test
- windows: py39-glue114-test
- windows: py39-glue115-test
- windows: py39-glue116-test
- windows: py39-glue117-test
- windows: py310-glue113-test
- windows: py310-glue114-test
- windows: py310-glue115-test
- windows: py310-glue116-test
- windows: py310-glue117-test
- windows: py311-glue113-test
- windows: py311-glue114-test
- windows: py311-glue115-test
- windows: py311-glue116-test
publish:
needs: tests
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
libraries: '^libxcb.*-dev libxkbcommon-x11-dev libgl1-mesa-glx xvfb'
test_extras: 'test,qt,jupyter'
test_command: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & sleep 3; DISPLAY=:99.0 pytest --pyargs glue_plotly
secrets:
pypi_token: ${{ secrets.pypi_token }}