Rewrote workslows to remove conda #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Updec CI/CD | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install Updec & Pytest | |
run: | | |
pip install --upgrade pip && pip install --upgrade "jax[cpu]" && python setup.py develop | |
- name: Run differential operators test | |
run: | | |
pytest --disable-warnings -q updec/tests/operators.py | |
- name: Run cloud interpolation test | |
run: | | |
pytest --disable-warnings -q updec/tests/interpolation.py | |
- name: Run outward normals test | |
run: | | |
pytest --disable-warnings -q updec/tests/normals.py | |