@@ -162,41 +162,3 @@ jobs:
162162 ["maximal"]
163163 docker_targets : " with-targets-optional"
164164 targets_optional : ' $(echo $(export PATH=build/bin:$PATH && sage-package list :experimental: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[p-z]))'
165-
166- local-ubuntu :
167-
168- runs-on : ubuntu-latest
169- strategy :
170- fail-fast : false
171- max-parallel : 1
172- matrix :
173- tox_system_factor : [conda-forge-ubuntu]
174- tox_packages_factor : [minimal, standard, environment, environment-optional]
175- env :
176- TOX_ENV : local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
177- LOGS_ARTIFACT_NAME : logs-commit-${{ github.sha }}-tox-local-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
178- steps :
179- - uses : actions/checkout@v3
180- - name : Install test prerequisites
181- run : |
182- sudo DEBIAN_FRONTEND=noninteractive apt-get update
183- sudo DEBIAN_FRONTEND=noninteractive apt-get install tox
184- - name : Build and test with tox
185- # We use a high parallelization on purpose in order to catch possible parallelization bugs in the build scripts.
186- # For doctesting, we use a lower parallelization to avoid timeouts.
187- run : |
188- MAKE="make -j12" tox -e $TOX_ENV -- SAGE_NUM_THREADS=4 $TARGETS
189- - name : Prepare logs artifact
190- run : |
191- mkdir -p "artifacts/$LOGS_ARTIFACT_NAME"; cp -r .tox/*/log "artifacts/$LOGS_ARTIFACT_NAME"
192- if : always()
193- - uses : actions/upload-artifact@v3
194- with :
195- path : artifacts
196- name : ${{ env.LOGS_ARTIFACT_NAME }}
197- if : always()
198- - name : Print out logs for immediate inspection
199- # and markup the output with GitHub Actions logging commands
200- run : |
201- .github/workflows/scan-logs.sh "artifacts/$LOGS_ARTIFACT_NAME"
202- if : always()
0 commit comments