Skip to content

Merge pull request #99 from epochpic/open_dataset_wrapper #538

Merge pull request #99 from epochpic/open_dataset_wrapper

Merge pull request #99 from epochpic/open_dataset_wrapper #538

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "recursive"
- name: Setup uv
id: setup-uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Print the installed version
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
- name: Set up Python ${{ matrix.python-version }} and install dependencies
run: |
uv python install ${{ matrix.python-version }}
uv sync --python ${{ matrix.python-version }} --frozen
- name: Cache Zenodo datasets
uses: actions/cache@v4
with:
path: ~/.cache/sdf_datasets
key: sdf-datasets-17991042
- name: Test with pytest
run: uv run pytest