diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 6ffc684..25c1e73 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -7,15 +7,39 @@ on: branches: - main jobs: - deploy: - runs-on: ubuntu-latest + pypi: + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + python-version: ["3.11", "3.12", "3.13"] + runs-on: ${{ matrix.os }} + name: "${{ matrix.os }} :: pypi :: ${{ matrix.python-version }}" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: ${{ matrix.python-version }} - run : | pip install uv uv pip install --system -r requirements.txt - run: | jupyter execute notebooks/example.ipynb + conda-forge: + strategy: + fail-fast: false + matrix: + os: ["ubuntu-latest", "macos-latest"] + runs-on: ${{ matrix.os }} + name: "${{ matrix.os }} :: conda-forge" + timeout-minutes: 15 + defaults: + run: + shell: bash -leo pipefail {0} + steps: + - uses: actions/checkout@v4 + - uses: mamba-org/setup-micromamba@v1 + with: + environment-file: environment.yml + - run: | + jupyter execute notebooks/example.ipynb diff --git a/docs/index.md b/docs/index.md index 98d6a66..b8b92df 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,22 +6,56 @@ Some text about what this is... Our example notebook shows how you can download a dataset from heiData. -### Online with Colab +### Online -You can run our example notebook online without installing anything locally using Google Colab (Google account required): +You can run our example notebook online without installing anything on your computer. -[](https://colab.research.google.com/github/ssciwr/QHCC/blob/main/notebooks/example.ipynb) +