Skip to content

Update checkout and setup-julia actions #57

Update checkout and setup-julia actions

Update checkout and setup-julia actions #57

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 }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: true
max-parallel: ${{ fromJSON(vars.MAX_PARALLEL || '1')}}
matrix:
version: ['1.6', '^1']
experimental: [false]
os:
- ubuntu-latest
arch:
- x64
include:
- version: 'nightly'
experimental: true
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
mPulseAPIToken: ${{ secrets.MPULSEAPITOKEN }}
mPulseAPITenant: ${{ secrets.MPULSEAPITENANT }}
mPulseAPIAlert: ${{ vars.MPULSEAPIALERT }}
DA_mPulseAPIAlert: ${{ vars.DA_MPULSEAPIALERT }}
mPulseAPIVerbose: ${{ vars.MPULSEAPIVERBOSE }}
mPulseAPIEndpoint: ${{ vars.MPULSEAPIENDPOINT }}
- 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 }}