-
Notifications
You must be signed in to change notification settings - Fork 105
45 lines (38 loc) · 1002 Bytes
/
test_book.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
name: Test Book
on:
push:
branches: [ master ]
jobs:
Test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: true
- name: Set up GDS Env
shell: bash -l {0}
run: |
conda update -y -n base -c defaults conda
conda --version
conda env create -f ../infrastructure/book_stack.yml
conda activate gdsbook
- name: Check and Log Environment
shell: bash -l {0}
run: |
conda activate gdsbook
conda info
# Print conda list
conda list
- name: Run Tests
shell: bash -l {0}
continue-on-error: false
run: |
conda activate gdsbook
make test