-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (36 loc) · 1.01 KB
/
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
40
41
name: CI Checks
on: [pull_request]
jobs:
unit-tests:
name: Unit Tests
runs-on: "ubuntu-20.04"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rcareworld
python-version: "3.10"
- name: Install dependencies
run: |
cd pyrcareworld
pip install -r requirements.txt
pip install -e .
pip uninstall -y numpy
conda install numpy
cd ../
pytest tests/test_angle_functions.py
pytest tests/test_dressing_env.py
pytest tests/test_save_scene.py
# cd pyrcareworld
# pytest tests/test_bathing_env.py
# - name: Run test_dressing_env.py
# run: |
# cd pyrcareworld
# pytest tests/test_dressing_env.py
# - name: Run test_save_scene.py
# run: |
# cd pyrcareworld
# pytest tests/test_save_scene.py