Skip to content

Commit

Permalink
Use latest dependencies in daily/nightly tests (#902)
Browse files Browse the repository at this point in the history
* Update lockfile in daily tests or nightly environment

* Fix daily doctest
  • Loading branch information
stanmart authored Jan 14, 2025
1 parent c3a6827 commit b471522
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b471522

Please sign in to comment.