Skip to content

Ferrite 1.0 compat #663

Ferrite 1.0 compat

Ferrite 1.0 compat #663

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: master
tags: '*'
jobs:
test:
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
julia-version: ['1', 'nightly']
os: ['ubuntu-latest']
include:
- os: windows-latest
julia-version: '1'
- os: macOS-latest
julia-version: '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
with:
path: |
~/.julia/artifacts
~/.julia/packages
~/.julia/registries
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@v1 # Temporary replace by the following to run tests against Ferrite#master
- run: |
julia --color=yes --project=. -e '
using Pkg
packages = [
PackageSpec(;url="https://github.com/Ferrite-FEM/Ferrite.jl.git", rev="master"),
]
Pkg.add(packages)
Pkg.instantiate()'
- uses: julia-actions/julia-runtest@v1