-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use nightly wheels where available to run tests and support NumPy 2.0 (…
…#3427) * Use nightly wheels where available to run tests * Use nightly wheels where available to run tests * bump up min numba version * Update nightly-deps-test.yml
- Loading branch information
Showing
17 changed files
with
121 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Run tests against nightly dependencies | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_and_test: | ||
name: build and test ${{ matrix.variant.os }}, py${{ matrix.python-version }} | ||
runs-on: ${{ matrix.variant.os }} | ||
defaults: | ||
run: | ||
shell: bash -l {0} # required for conda env | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
variant: | ||
- {os: ubuntu-22.04, cmake-preset: ci-linux} | ||
- {os: macos-11, cmake-preset: ci-macos} | ||
- {os: windows-2019, cmake-preset: ci-windows} | ||
python-version: ["3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 # history required so cmake can determine version | ||
|
||
- uses: ilammy/msvc-dev-cmd@v1 # Required to set up MSVC dev environment for Ninja builds. | ||
|
||
- name: Setup conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
micromamba-version: 1.5.6-0 | ||
environment-file: .buildconfig/${{ matrix.variant.cmake-preset }}.yml | ||
cache-environment: true | ||
create-args: python=${{ matrix.python-version }} | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/ccache-action@v1.2.12 | ||
with: | ||
key: ${{ matrix.variant.os }} | ||
|
||
- name: Cache conan setup | ||
id: conan-cache-key | ||
run: | | ||
echo "key=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT | ||
echo "path=$(conan config home)" >> $GITHUB_OUTPUT | ||
- name: Cache conan | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ steps.conan-cache-key.outputs.path }} | ||
key: conan-${{ matrix.variant.os }}-${{ steps.conan-cache-key.outputs.key }} | ||
|
||
- run: cmake --preset ${{ matrix.variant.cmake-preset }} | ||
- run: cmake --build --preset build | ||
- run: ctest --preset test | ||
- run: tox -e nightlydeps -vvv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,5 @@ | |
# | ||
# pip-compile-multi | ||
# | ||
numpy==1.26.4 | ||
numpy==2.0.0 | ||
# via -r base.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters