-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1014 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Test SSPS
on:
- push
- pull_request
jobs:
test:
name: Test SSPS
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.6']
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- name: Install Julia packages
run: |
julia --project=SSPS --eval 'using Pkg; Pkg.instantiate()'
julia --project=SSPS SSPS/precompile_script.jl
- name: Install conda environment with Snakemake
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: ssps
environment-file: tests/environment.yml
auto-activate-base: false
miniconda-version: 'latest'
- name: Run SSPS test
shell: bash --login {0}
run: |
cd tests
bash ssps_csv.sh