Fix Vararg warning and update workflows (#90) #251
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
tags: '*' | |
pull_request: | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
version: | |
- 'lts' | |
- '1' | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macOS-latest | |
arch: | |
- x64 | |
exclude: | |
# MacOS not available on x86 | |
- {os: 'macOS-latest', arch: 'x86'} | |
# Only test all os on the latest release | |
- {version: 'lts', os: 'windows-latest'} | |
- {version: 'lts', os: 'macOS-latest'} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-runtest@latest | |
- uses: julia-actions/julia-uploadcodecov@latest | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |