Skip to content

Refactor UQ and V&V task lists: add new resolved tasks, remove outdat… #3

Refactor UQ and V&V task lists: add new resolved tasks, remove outdat…

Refactor UQ and V&V task lists: add new resolved tasks, remove outdat… #3

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-test.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements-test.txt ]; then
pip install -r requirements-test.txt
else
pip install numpy scipy matplotlib pytest pytest-asyncio cma
fi
- name: Run tests
env:
PYTHONWARNINGS: ignore::pytest.PytestReturnNotNoneWarning
run: |
pytest -q