32
32
lint
33
33
docs
34
34
pkg
35
- # ^ arm64 runner is using py311 for matching python version used in AAP 2.5
36
- platforms : linux,macos,linux-arm64:ubuntu-24.04-arm64-2core
35
+ py39:tox -e py39 --notest
36
+ py310:tox -e py310 --notest
37
+ py311:tox -e py311 --notest
38
+ py312:tox -e py312 --notest
39
+ py39-macos:tox -e py312 --notest
40
+ py312-macos:tox -e py312 --notest
41
+ # ^ macos is also used to validate arm64 building
42
+ platforms : linux,macos
37
43
skip_explode : " 1"
38
44
build :
39
45
name : ${{ matrix.name }}
45
51
matrix : ${{ fromJson(needs.prepare.outputs.matrix) }}
46
52
steps :
47
53
54
+ - name : Install package dependencies (ubuntu)
55
+ if : ${{ contains(matrix.os, 'ubuntu') }}
56
+ run : |
57
+ sudo apt remove -y docker-compose
58
+ sudo apt-get update -y
59
+ sudo apt-get --assume-yes --no-install-recommends install -y apt-transport-https curl libkrb5-dev
60
+
48
61
- uses : actions/checkout@v4
49
62
with :
50
63
fetch-depth : 0 # needed by setuptools-scm
@@ -138,8 +151,13 @@ jobs:
138
151
name : logs.zip
139
152
path : .
140
153
141
- - name : Check for expected number of coverage reports
142
- run : .github/check-coverage.sh
154
+ - name : Check for expected number of coverage.xml reports
155
+ run : |
156
+ JOBS_PRODUCING_COVERAGE=0
157
+ if [ "$(find . -name coverage.xml | wc -l | bc)" -ne "${JOBS_PRODUCING_COVERAGE}" ]; then
158
+ echo "::error::Number of coverage.xml files was not the expected one (${JOBS_PRODUCING_COVERAGE}): $(find . -name coverage.xml |xargs echo)"
159
+ exit 1
160
+ fi
143
161
144
162
# Single uploads inside check job for codecov to allow use to retry
145
163
# it when it fails without running tests again. Fails often enough!
@@ -160,7 +178,7 @@ jobs:
160
178
with :
161
179
name : ${{ matrix.name }}
162
180
# verbose: true # optional (default = false)
163
- fail_ci_if_error : true
181
+ fail_ci_if_error : false
164
182
use_oidc : true # cspell:ignore oidc
165
183
files : " */tests/output/reports/coverage.xml"
166
184
0 commit comments