Skip to content

update python test workflow to download cspice #426

update python test workflow to download cspice

update python test workflow to download cspice #426

Workflow file for this run

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