-
Notifications
You must be signed in to change notification settings - Fork 26
/
.gitlab-ci.yml
39 lines (34 loc) · 970 Bytes
/
.gitlab-ci.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
image: continuumio/miniconda3
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
test:
only:
- main
- dev
before_script:
- apt-get update && apt-get install libgl1 -y
- conda create -y --name puma -c conda-forge puma gcc scipy=1.11
- conda init bash
- source ~/.bashrc
- conda activate puma
- python -m pip install --upgrade pip
- python -m pip install pytest
- python -m pip install -e . # install local pumapy
- cd python/test
script:
- pytest test_conductivity.py
- pytest test_filters.py
- pytest test_generation.py
- pytest test_io.py
- pytest test_isosurf_sa_mil_vf_orient.py
- pytest test_elasticity.py
- pytest test_permeability.py
- pytest test_radiation_raycast.py
- pytest test_segmentation.py
# - pytest test_texgen_weave.py
- pytest test_workspace.py
- pytest test_visualization.py
- pytest test_tortuosity.py