Document possibly surprising syntax for submodule usage #8
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: Test | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: ["*"] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| uses: ./.github/workflows/ReusableTest.yml | |
| with: | |
| os: ${{ matrix.os }} | |
| version: ${{ matrix.version }} | |
| arch: ${{ matrix.arch }} | |
| allow_failure: ${{ matrix.allow_failure }} | |
| run_codecov: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} | |
| secrets: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| version: | |
| - "lts" | |
| - "1" | |
| os: | |
| - ubuntu-latest | |
| arch: | |
| - x64 | |
| allow_failure: [false] | |
| jet: | |
| name: Julia 1.12 - JET | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2.7.0 | |
| with: | |
| version: "1.12" | |
| - name: Use Julia cache | |
| uses: julia-actions/cache@v3 | |
| with: | |
| delete-old-caches: false | |
| - name: Ensure General registry | |
| run: | | |
| julia --color=yes -e 'import Pkg; isempty(Pkg.Registry.reachable_registries()) && Pkg.Registry.add(Pkg.RegistrySpec(name="General"))' | |
| - name: Instantiate JET test environment | |
| run: julia --project=test/jet --color=yes -e 'import Pkg; Pkg.instantiate()' | |
| - name: Run JET | |
| run: julia --project=test/jet --color=yes test/jet/runtests.jl |