From b471522c611b263c00ae841fd0f46660c31a6d5f Mon Sep 17 00:00:00 2001 From: Martin Stancsics Date: Tue, 14 Jan 2025 12:48:40 +0100 Subject: [PATCH] Use latest dependencies in daily/nightly tests (#902) * Update lockfile in daily tests or nightly environment * Fix daily doctest --- .github/workflows/ci.yml | 3 +++ .github/workflows/daily.yml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41b8f8a0..3e008eeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,9 @@ jobs: uses: prefix-dev/setup-pixi@992a3081e2f87829e0fff9fb29f4fe6a5d1e80a2 with: environments: ${{ matrix.environment }} + - name: Update dependencies + if: matrix.environment == 'nightly' + run: pixi update -e ${{ matrix.environment }} - name: Install nightlies if: matrix.environment == 'nightly' run: pixi run -e ${{ matrix.environment }} install-nightlies diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 2a3fde28..330260a3 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -28,6 +28,8 @@ jobs: uses: prefix-dev/setup-pixi@992a3081e2f87829e0fff9fb29f4fe6a5d1e80a2 with: environments: ${{ matrix.environment }} + - name: Update dependencies + run: pixi update -e ${{ matrix.environment }} - name: Install nightlies if: matrix.environment == 'nightly' run: pixi run -e ${{ matrix.environment }} install-nightlies @@ -42,6 +44,8 @@ jobs: run: | mkdir ../temp cp README.md ../temp + mkdir ../temp/data + cp data/housing.parquet ../temp/data cd ../temp pixi run --manifest-path ../glum/pixi.toml -e ${{ matrix.environment }} python -m doctest -v README.md