Skip to content

Add github julia-actions/cache action #33

Add github julia-actions/cache action

Add github julia-actions/cache action #33

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
tags: '*'
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1.6'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
- uses: julia-actions/cache@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- run: julia --color=yes --project=. -e 'if VERSION < v"1.9"; using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); end'
working-directory: ${{ github.workspace }}
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}