Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/cache-pixi-lock.yml

This file was deleted.

67 changes: 29 additions & 38 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,20 @@ jobs:
with:
keyword: "[skip-ci]"
cache-pixi-lock:
uses: ./.github/workflows/cache-pixi-lock.yml
with:
pixi-version: "v0.63.1" # keep in sync with env var above
runs-on: ubuntu-slim
outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
steps:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@82087290114bffa037dc527b2afc3d1c797eda8f
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
path: pixi.lock
doctest:
name: Doctests
runs-on: "ubuntu-latest"
Expand All @@ -59,16 +70,12 @@ jobs:
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ env.PIXI_ENV }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down Expand Up @@ -101,16 +108,12 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ env.PIXI_ENV }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down Expand Up @@ -150,16 +153,12 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ env.PIXI_ENV }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down Expand Up @@ -207,16 +206,12 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ matrix.pixi-env }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down Expand Up @@ -259,17 +254,13 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}

- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: "policy"
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down
27 changes: 17 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,20 @@ jobs:
keyword: "[skip-ci]"

cache-pixi-lock:
uses: ./.github/workflows/cache-pixi-lock.yml
with:
pixi-version: "v0.63.1" # keep in sync with env var above
runs-on: ubuntu-slim
outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
steps:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@82087290114bffa037dc527b2afc3d1c797eda8f
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
path: pixi.lock
test:
name: "${{ matrix.os }} | ${{ matrix.pixi-env }}${{ matrix.pytest-addopts && format(' ({0})', matrix.pytest-addopts) || '' }}"
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -84,16 +95,12 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ matrix.pixi-env }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down
27 changes: 17 additions & 10 deletions .github/workflows/hypothesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,20 @@ jobs:
keyword: "[skip-ci]"

cache-pixi-lock:
uses: ./.github/workflows/cache-pixi-lock.yml
with:
pixi-version: "v0.63.1" # keep in sync with env var above
runs-on: ubuntu-slim
outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
steps:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@82087290114bffa037dc527b2afc3d1c797eda8f
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
path: pixi.lock

hypothesis:
name: Slow Hypothesis Tests
Expand All @@ -63,16 +74,12 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ env.PIXI_ENV }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down
37 changes: 20 additions & 17 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,20 @@ jobs:
with:
keyword: "[test-upstream]"
cache-pixi-lock:
uses: ./.github/workflows/cache-pixi-lock.yml
with:
pixi-version: "v0.63.1" # keep in sync with env var above
runs-on: ubuntu-slim
outputs:
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
steps:
- uses: actions/checkout@v6
- uses: Parcels-code/pixi-lock/create-and-cache@82087290114bffa037dc527b2afc3d1c797eda8f
id: pixi-lock
with:
pixi-version: ${{env.PIXI_VERSION}}
- uses: actions/upload-artifact@v6
with:
name: pixi-lock
path: pixi.lock
upstream-dev:
name: upstream-dev
runs-on: ubuntu-latest
Expand All @@ -64,16 +75,12 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ matrix.pixi-env }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down Expand Up @@ -121,16 +128,12 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: Restore cached pixi lockfile
uses: actions/cache/restore@v5
id: restore-pixi-lock
uses: Parcels-code/pixi-lock/restore@82087290114bffa037dc527b2afc3d1c797eda8f
with:
enableCrossOsArchive: true
path: |
pixi.lock
key: ${{ needs.cache-pixi-lock.outputs.cache-id }}
cache-key: ${{ needs.cache-pixi-lock.outputs.cache-key }}
- uses: prefix-dev/[email protected]
with:
pixi-version: ${{ env.PIXI_VERSION }}
pixi-version: ${{ needs.cache-pixi-lock.outputs.pixi-version }}
cache: true
environments: ${{ matrix.pixi-env }}
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
Expand Down
Loading