Skip to content

WIP: Run examples in CI #1

WIP: Run examples in CI

WIP: Run examples in CI #1

Workflow file for this run

name: Test examples
on:
push:
branches:
- main
paths-ignore:
- 'AUTHORS.md'
- 'CITATION.bib'
- 'CONTRIBUTING.md'
- 'LICENSE.md'
- 'NEWS.md'
- 'README.md'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/TagBot.yml'
- '.gitignore'
pull_request:
paths-ignore:
- 'AUTHORS.md'
- 'CITATION.bib'
- 'CONTRIBUTING.md'
- 'LICENSE.md'
- 'NEWS.md'
- 'README.md'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/TagBot.yml'
- '.gitignore'
# Cancel redundant CI tests automatically
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.9', '1']
julia-arch: x64

Check failure on line 40 in .github/workflows/test_examples.yml

View workflow run for this annotation

GitHub Actions / Test examples

Invalid workflow file

The workflow is not valid. .github/workflows/test_examples.yml (Line: 40, Col: 21): Unexpected value 'x64' .github/workflows/test_examples.yml (Line: 41, Col: 13): Unexpected value 'ubuntu-latest'
os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-buildpkg@v1
- name: Example 1
shell: julia --color=yes {0}
run: |
using Pkg
@info "DEBUG" pwd()
Pkg.activate(".")
Pkg.instantiate()
include(joinpath("examples", "t8_step0_helloworld.jl"))