avoid variables captured in closure from becoming boxed by passing them in as arguments. #123
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'release-' | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.6' | |
- '1.7' | |
- '1.8' | |
- '1.9' | |
- '1' | |
- 'nightly' | |
os: | |
- ubuntu-latest | |
include: | |
- os: windows-latest | |
version: '1' | |
- os: macOS-latest | |
version: '1' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} | |
- uses: codecov/codecov-action@v4 | |
with: | |
file: lcov.info | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
if: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }} |