Dof reindexing for FESpaces #3968
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - 'CONTRIBUTING.md' | |
| - 'CODE_OF_CONDUCT.md' | |
| - 'LICENSE.md' | |
| - 'README.md' | |
| - 'NEWS.md' | |
| - 'ADMINISTRATORS' | |
| - 'benchmark/**' | |
| - 'docs/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'CONTRIBUTING.md' | |
| - 'CODE_OF_CONDUCT.md' | |
| - 'LICENSE.md' | |
| - 'README.md' | |
| - 'NEWS.md' | |
| - 'ADMINISTRATORS' | |
| - 'benchmark/**' | |
| - 'docs/**' | |
| workflow_dispatch: # Allow manual triggering of the workflow from the Actions tab | |
| # Cancel redundant CI runs: always for PRs, never for pushes to master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| prime-cache: # If cold cache, create a cache entry for each version/os/arch combination in the test matrix, without running tests | |
| name: Prime cache - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| - {version: 'lts', os: ubuntu-latest, arch: x64} | |
| - {version: '1', os: ubuntu-latest, arch: x64} | |
| - {version: 'lts', os: macos-latest, arch: aarch64} | |
| - {version: 'lts', os: windows-latest, arch: x64} | |
| - {version: 'lts', os: ubuntu-latest, arch: x86} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| test: # Linux, lts + latest, all testcases in parallel | |
| needs: [prime-cache] | |
| name: ${{ matrix.testcase }} - ${{ matrix.version }} - ubuntu-latest - x64 - ${{ github.event_name }} | |
| runs-on: ubuntu-latest | |
| env: | |
| DO_COVERAGE: ${{ matrix.version == 'lts' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - 'lts' | |
| - '1' | |
| testcase: | |
| - unit-basics | |
| - unit-fields | |
| - unit-referencefes | |
| - unit-geometry | |
| - unit-celldata | |
| - unit-visualization | |
| - unit-fespaces-1 | |
| - unit-fespaces-2 | |
| - unit-multifield | |
| - unit-odes | |
| - unit-adaptivity | |
| - drivers | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: x64 | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| with: | |
| coverage: ${{ env.DO_COVERAGE }} | |
| env: | |
| TESTCASE: ${{ matrix.testcase }} | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| if: ${{ env.DO_COVERAGE }} | |
| - uses: codecov/codecov-action@v6 | |
| if: ${{ env.DO_COVERAGE }} | |
| with: | |
| verbose: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: ${{ matrix.testcase }} | |
| test-crossplatform: # macOS/Windows/x86, lts only, all testcases in parallel | |
| needs: [prime-cache] | |
| name: ${{ matrix.testcase }} - lts - ${{ matrix.config.os }} - ${{ matrix.config.arch }} - ${{ github.event_name }} | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| testcase: | |
| - unit-basics | |
| - unit-fields | |
| - unit-referencefes | |
| - unit-geometry | |
| - unit-celldata | |
| - unit-visualization | |
| - unit-fespaces-1 | |
| - unit-fespaces-2 | |
| # - unit-multifield | |
| # - unit-odes | |
| # - unit-adaptivity | |
| # - drivers | |
| config: | |
| - {os: macos-latest, arch: aarch64} | |
| - {os: windows-latest, arch: x64} | |
| - {os: ubuntu-latest, arch: x86} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: 'lts' | |
| arch: ${{ matrix.config.arch }} | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-runtest@v1 | |
| with: | |
| coverage: false | |
| env: | |
| TESTCASE: ${{ matrix.testcase }} | |
| extensions: | |
| needs: [prime-cache] | |
| name: Extensions - ${{ matrix.version }} - ubuntu-latest - x64 - ${{ github.event_name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - '1' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: ${{ matrix.version }} | |
| arch: x64 | |
| - uses: julia-actions/cache@v3 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - run: | | |
| julia --color=yes --project=. --depwarn=yes -e 'using Pkg; Pkg.instantiate()' | |
| julia --color=yes --project=. --depwarn=yes -e 'using Pkg; Pkg.add(["Test", "TikzPictures"])' | |
| julia --color=yes --project=. --code-coverage=user --depwarn=yes -e 'include("test/ExtensionTests/runtests.jl")' | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v6 | |
| with: | |
| verbose: true | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| flags: extensions |