Skip to content

Bump julia-actions/cache from 1 to 2 (#97) #89

Bump julia-actions/cache from 1 to 2 (#97)

Bump julia-actions/cache from 1 to 2 (#97) #89

name: OndaEDFSchemas CI
on:
push:
branches:
- main
- master
tags: ["*"]
paths: ["OndaEDFSchemas.jl/**", ".github/workflows/CI-OndaEDFSchemas.yml"]
pull_request:
paths: ["OndaEDFSchemas.jl/**", ".github/workflows/CI-OndaEDFSchemas.yml"]
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.6"
- "1"
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
with:
project: 'OndaEDFSchemas.jl'
- uses: julia-actions/julia-runtest@v1
with:
project: 'OndaEDFSchemas.jl'
- uses: julia-actions/julia-processcoverage@v1
with:
directories: 'OndaEDFSchemas.jl/src/'
- uses: codecov/codecov-action@v3
with:
file: lcov.info
flags: OndaEDFSchemas.jl