-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (40 loc) · 1.02 KB
/
cont_int.yml
File metadata and controls
46 lines (40 loc) · 1.02 KB
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
name: continuous integration
on:
push:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, ready_for_review, review_requested]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up miniconda Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: t3_env
environment-file: environment.yml
python-version: 3.7
auto-activate-base: false
- name: Install codecov
run: conda install -y -c conda-forge codecov
- name: Install dependencies and test with PyTest
shell: bash -l {0}
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
conda activate t3_env
make install
echo $(pwd)
conda list
cd ..
cd RMG-Py
export PYTHONPATH=$PYTHONPATH:$(pwd)
cd ..
cd ARC
export PYTHONPATH=$PYTHONPATH:$(pwd)
cd ..
cd T3
conda activate t3_env
make test
codecov