CI: Update actions #80
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: CI (Julia nightly) | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
tags: '*' | ||
# needed to allow julia-actions/cache to delete old caches that it has created | ||
permissions: | ||
actions: write | ||
contents: read | ||
jobs: | ||
test_julia_nightly: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: | ||
- x64 | ||
- x86 | ||
os: | ||
- macOS-latest | ||
- ubuntu-latest | ||
- windows-latest | ||
version: | ||
- 'nightly' | ||
exclude: | ||
- os: macOS-latest | ||
arch: x86 # 32-bit Julia binaries are not available on macOS | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/cache@v1 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v2 | ||
env: | ||
CODECOV_TOKEN: 82aae245-ad5c-41ac-9e30-b64617ce25b0 | ||
with: | ||
file: lcov.info |