Skip to content

Very messy first drafts of HPDI functions (grid, rv, samples) #18

Very messy first drafts of HPDI functions (grid, rv, samples)

Very messy first drafts of HPDI functions (grid, rv, samples) #18

Workflow file for this run

name: Python tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: Python tests
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
fail-fast: false
matrix:
os:
- ubuntu-latest
# - windows-latest
# - macos-latest
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests using tox
run: tox -e py${{ matrix.python-version }}