Split OffsetArraysCore as a separate package
#2
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: OffsetArraysCore Unit Tests | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| branches: | |
| - master | |
| paths: | |
| - 'OffsetArraysCore/**' | |
| pull_request: | |
| paths: | |
| - 'OffsetArraysCore/**' | |
| concurrency: | |
| group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| # allow-failure is not supported yet | |
| # https://github.com/actions/toolkit/issues/399 | |
| fail-fast: false | |
| matrix: | |
| julia-version: ['min', 'lts', '1', 'pre'] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| # only test one 32-bit job | |
| include: | |
| - os: ubuntu-latest | |
| julia-version: '1' | |
| julia-arch: x86 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: julia-actions/setup-julia@v2 | |
| - uses: julia-actions/cache@v2 | |
| - name: Test OffsetArraysCore subpackage | |
| run: julia --project=OffsetArraysCore -e 'using Pkg; Pkg.test()' | |
| - uses: julia-actions/julia-processcoverage@v1 | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: lcov.info |