Skip to content

Commit 5ef53b8

Browse files
committed
add test env
1 parent d9b04f7 commit 5ef53b8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,23 @@ jobs:
1414
activate-environment: synthia-test
1515
environment-file: environment-test.yml
1616

17+
- name: Install Synthia (test env)
18+
# 'shell' required to activate environment.
19+
# See https://github.com/goanpeca/setup-miniconda#important.
20+
shell: bash -l {0}
21+
run: pip install .
22+
23+
- name: Run tests
24+
shell: bash -l {0}
25+
run: pytest tests/
26+
27+
- name: Run tests with pyvinecopulib
28+
shell: bash -l {0}
29+
run: |
30+
set -ex
31+
pip install pyvinecopulib
32+
pytest tests/
33+
1734
# Install all dev dependencies to build notebooks etc.
1835
- uses: goanpeca/setup-miniconda@v1
1936
with:

0 commit comments

Comments
 (0)