File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,38 +2,57 @@ name: s390x
22
33on :
44 workflow_dispatch :
5- push :
6- tags :
7- - ' *'
85 schedule :
96 # Run every Monday at 6am UTC
107 - cron : ' 0 6 * * 1'
8+ pull_request :
9+ # We also want this workflow triggered if the `s390x` label is
10+ # added or present when PR is updated
11+ types :
12+ - synchronize
13+ - labeled
14+ push :
15+ branches :
16+ - ' *.*.x'
17+ tags :
18+ - ' *'
1119
1220jobs :
1321 pytest :
22+ name : Python 3.8
1423 runs-on : ubuntu-18.04
15- name : Python 3.7
24+ if : (github.repository == 'asdf-format/asdf' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 's390x')))
1625 steps :
1726 - uses : actions/checkout@v2
1827 with :
1928 fetch-depth : 0
2029 submodules : true
21- - uses : uraimo/run-on-arch-action@v2.0.5
30+ - uses : uraimo/run-on-arch-action@v2.2.0
2231 name : Run tests
2332 id : build
2433 with :
2534 arch : s390x
26- distro : buster
35+ distro : bullseye
2736 shell : /bin/bash
2837 install : |
38+ echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
2939 apt-get update -q -y
3040 apt-get install -q -y git \
41+ g++ \
42+ pkg-config \
3143 python3 \
44+ python3-configobj \
3245 python3-astropy \
3346 python3-lz4 \
3447 python3-numpy \
48+ python3-ply \
3549 python3-venv \
36- python3-wheel
50+ python3-wheel \
51+ cython3 \
52+ libwcs7/bullseye-backports \
53+ wcslib-dev/bullseye-backports \
54+ libcfitsio-dev \
55+ liberfa1
3756 run : |
3857 python3 -m venv --system-site-packages tests
3958 source tests/bin/activate
You can’t perform that action at this time.
0 commit comments