-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (36 loc) · 867 Bytes
/
python_tests.yml
File metadata and controls
37 lines (36 loc) · 867 Bytes
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
name: Python tests
on:
push:
branches:
- main
- dev
paths:
- '.github/workflows/python_tests.yml'
- 'include/**'
- 'src/**'
- 'grss/**'
- 'tests/python/**'
jobs:
prop-and-fit:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install GRSS (including dependencies)
run: |
cd ./extern/
python3 get_cspice.py
cd ..
python3 -m pip install --upgrade pip
pip3 install "pybind11[global]>=2.10.0"
pip3 install .
- name: Run tests
run: |
python3 -m pip install jupyter
cd tests/python
./run_tests.sh prop
./run_tests.sh fit