Kernel Abstractions Extension Improvements #169
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 | |
| env: | |
| JULIA_NUM_THREADS: 4 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: '*' | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| julia-version: ['1.10', '1.11', '1.12'] | |
| julia-arch: [x64] | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Julia environment | |
| uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| arch: ${{ matrix.julia-arch }} | |
| - name: Add Julia cache | |
| uses: julia-actions/cache@v2 | |
| - name: Instantiate | |
| run: julia --project=./ -e 'using Pkg; Pkg.instantiate()' | |
| - name: Run tests | |
| uses: julia-actions/julia-runtest@v1 | |
| - name: Process code coverage | |
| uses: julia-actions/julia-processcoverage@v1 | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| files: ./lcov.inf | |
| flags: unittests | |
| token: ${{ secrets.CODECOV_TOKEN }} |