Skip to content

Enable CI

Enable CI #6

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
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 }}
continue-on-error: ${{ matrix.allow_failure }}
strategy:
fail-fast: false
matrix:
version:
- '1.9'
- '1'
- 'nightly'
os:
- ubuntu-latest
arch:
- x64
allow_failure: [false]
include:
- version: 'nightly'
allow_failure: true
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: expect
version: 1.0
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest