-
-
Notifications
You must be signed in to change notification settings - Fork 22
69 lines (60 loc) · 1.59 KB
/
test.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: ci-branch-tests
on: push
concurrency:
group: ada-quick-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test-core:
name: Test ada-py-core
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1 # https://github.com/mamba-org/setup-micromamba
with:
cache-environment: false
condarc: |
channels:
- conda-forge
- krande
environment-file: conda/environment.core.yml
create-args: >-
python=3.11
pytest
- name: Install latest adapy
run: |
pip install -e .
- name: Runs Tests
run: pytest ./tests --ignore=./tests/fem/ --ignore=./tests/full/
test-full:
name: Test ada-py-full
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1 # https://github.com/mamba-org/setup-micromamba
with:
cache-environment: false
condarc: |
channels:
- conda-forge
- krande
environment-file: conda/environment.core.yml
create-args: >-
python=3.11
pytest
jupyterlab
pythreejs
pyparsing
websockets
pygfx
pyglfw
- name: Install latest adapy
run: |
pip install -e .
- name: Run Tests
run: pytest ./tests --ignore=./tests/fem/