Add workflow for testing

This commit is contained in:
2023-06-22 18:51:24 +02:00
parent bf23b2c175
commit bbf8106e12
8 changed files with 44 additions and 19 deletions

View File

@ -0,0 +1,30 @@
name: Test
on: [push]
jobs:
test:
runs-on: arch-latest
steps:
#- name: Get git-lfs
# run: apt-get update && apt-get install git-lfs
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
#- name: Checkout LFS objects
# run: git lfs checkout
- name: Setup Julia environment
uses: https://github.com/julia-actions/setup-julia@v1.9.1
with:
version: '1.9.1'
- name: Install dependencies
run: julia --project -e 'import Pkg; Pkg.instantiate()'
- name: Run tests
run: julia --project -e 'import Pkg; Pkg.test()'