-
Notifications
You must be signed in to change notification settings - Fork 13
53 lines (43 loc) · 1.16 KB
/
ci-dev.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
53
name: CI
on:
pull_request:
branches:
- develop
jobs:
test-full:
name: Full Test Suite
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.11]
steps:
- uses: actions/checkout@v4
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libopenblas-dev
- name: Install macOS Dependencies
shell: bash -l {0}
if: runner.os == 'macOS'
run: |
brew tap sfarrens/sf
brew install bigmac libomp
brew reinstall gcc
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
auto-activate-base: true
miniforge-version: latest
- name: Install package
shell: bash -l {0}
run: |
./install_shapepipe --env-dev --develop
- name: Run tests
shell: bash -l {0}
run: |
conda activate shapepipe-dev
pytest
shapepipe_run -c example/config.ini