Unify DataLayouts and simplify API #4137
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: Unit Tests | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| tags: '*' | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| # Needed to allow julia-actions/cache to delete old caches that it has created | ||
| permissions: | ||
| actions: write | ||
| contents: read | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| test: | ||
| timeout-minutes: ${{ matrix.os == 'macOS-latest' && 120 || 80 }} | ||
| name: ci ${{ matrix.version }} - ${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| version: | ||
| - '1.10' | ||
| - '1.11' | ||
| os: | ||
| - ubuntu-latest | ||
| # There is a concurrency limit for MacOS runners across the | ||
| # entire organization. | ||
| # (see https://docs.github.com/en/actions/reference/limits#job-concurrency-limits-for-github-hosted-runners) | ||
| # To help with this, MacOS runners are only run when PRs are merged | ||
| # into the main branch. | ||
| - ${{ github.event_name == 'push' && 'macos-latest' || '' }} | ||
| exclude: | ||
| - os: '' | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v7 | ||
| - uses: julia-actions/setup-julia@v3 | ||
| with: | ||
| version: ${{ matrix.version }} | ||
| - uses: julia-actions/cache@v3 | ||
| - uses: julia-actions/julia-buildpkg@latest | ||
| - uses: julia-actions/julia-runtest@latest | ||
| with: | ||
| # Bound the heap so the test suite is not killed on the 7 GB runners | ||
| # (the whole suite runs in one process, and Julia 1.11 reaches a | ||
| # higher memory watermark than 1.10 with default GC settings). | ||
| julia-args: '--heap-size-hint=3G' | ||
| - uses: julia-actions/julia-processcoverage@latest | ||
| - uses: codecov/codecov-action@v7 | ||
| if: ${{ matrix.version == '1.10' }} && ${{ matrix.os == 'ubuntu-latest' }} | ||
|
Check warning on line 59 in .github/workflows/UnitTests.yml
|
||
| with: | ||
| files: lcov.info | ||
| env: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||