fix: don't use polynomial rings over zero rings #5554
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run long tests | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'release-' | |
tags: '*' | |
pull_request: | |
concurrency: | |
# group by workflow and ref; the last slightly strange component ensures that for pull | |
# requests, we limit to 1 concurrent job, but for the master branch we don't | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }} | |
# Cancel intermediate builds, but only if it is a pull request build. | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- '1.10' | |
julia-arch: | |
- x64 | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# For Codecov, we must also fetch the parent of the HEAD commit to | |
# be able to properly deal with PRs / merges | |
fetch-depth: 2 | |
- name: "Set up Julia" | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- name: "Cache artifacts" | |
uses: julia-actions/cache@v2 | |
- name: "Build package" | |
uses: julia-actions/julia-buildpkg@v1 | |
- name: "Inject GAP and Polymake as test dependencies" | |
continue-on-error: true | |
run: | | |
sed -i -e "s/\[deps\]/[deps]\nGAP = \"c863536a-3901-11e9-33e7-d5cd0df7b904\"/" test/Project.toml | |
sed -i -e "s/\[deps\]/[deps]\nPolymake = \"d720cf60-89b5-51f5-aff5-213f193123e7\"/" test/Project.toml | |
- name: "Run long tests" | |
uses: julia-actions/julia-runtest@v1 | |
env: | |
HECKE_TESTLONG: "1" | |
HECKE_TEST_PARALLEL: "2" | |
- name: "Process code coverage" | |
uses: julia-actions/julia-processcoverage@v1 | |
- name: "Upload coverage data to Codecov" | |
continue-on-error: true | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
test_threaded: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- '1.10' | |
julia-arch: | |
- x64 | |
os: | |
- macOS-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# For Codecov, we must also fetch the parent of the HEAD commit to | |
# be able to properly deal with PRs / merges | |
fetch-depth: 2 | |
- name: "Set up Julia" | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- name: "Cache artifacts" | |
uses: julia-actions/cache@v2 | |
- name: "Build package" | |
uses: julia-actions/julia-buildpkg@v1 | |
- name: "Run threaded tests" | |
uses: julia-actions/julia-runtest@v1 | |
env: | |
HECKE_TEST_THREADS: "1" | |
JULIA_NUM_THREADS: "2" | |
- name: "Process code coverage" | |
uses: julia-actions/julia-processcoverage@v1 | |
- name: "Upload coverage data to Codecov" | |
continue-on-error: true | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |