Add support for synced spins/pols #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: unit_tests | |
on: | |
push: | |
branches: | |
- main | |
tags: "*" | |
pull_request: | |
env: | |
# keep the depot directly in the repository for the cache | |
JULIA_DEPOT_PATH: './.julia' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Julia environment | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: "1.10" | |
- name: Instantiate # TODO: currently needs dev versions of QEDbase and QEDprocesses, remove once they are released again | |
run: | | |
julia --project=./ -e 'using Pkg; Pkg.instantiate()' | |
julia --project=./ ./add_QED_dev.jl | |
- name: Run tests | |
run: julia --project=./ -t 4 -e 'using Pkg; Pkg.test()' -O0 |