Skip to content

Merge pull request #1 from JuliaRobotics/23Q3/enh/testing #2

Merge pull request #1 from JuliaRobotics/23Q3/enh/testing

Merge pull request #1 from JuliaRobotics/23Q3/enh/testing #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- develop
- release**
workflow_dispatch:
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
env:
JULIA_PKG_SERVER: ""
strategy:
fail-fast: false
matrix:
julia-version: ['1.9', '~1.10.0-0', 'nightly']
os: [ubuntu-latest]
arch: [x64]
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- run: |
git config --global user.name Tester
git config --global user.email [email protected]
- uses: julia-actions/julia-runtest@latest
continue-on-error: ${{ matrix.julia-version == 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
if: ${{ matrix.julia-version == '1.9' }}
- uses: codecov/codecov-action@v1
with:
file: lcov.info