-
Notifications
You must be signed in to change notification settings - Fork 13
52 lines (41 loc) · 1.06 KB
/
ci-tests.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
pull_request:
branches:
- main
- master
- develop
jobs:
test-full:
name: Full Test Suite
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libopenblas-dev
- name: Install macOS Dependencies
if: runner.os == 'macOS'
run: brew install libomp
- name: Set up conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
auto-activate-base: true
- name: Install package
run: ./install_shapepipe --develop
- name: Run tests
run: |
conda activate shapepipe
python setup.py test
shapepipe_run -c example/config.ini