-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2b14411
commit ea3d72f
Showing
8 changed files
with
99 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,3 @@ | ||
watch_file pyproject.toml | ||
eval "$(pixi shell-hook)" | ||
|
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,53 @@ | ||
name: Codebase tests (GPU) | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
env: | ||
XLA_FLAGS: --xla_gpu_enable_command_buffer= | ||
XLA_PYTHON_CLIENT_PREALLOCATE: "false" | ||
XLA_PYTHON_CLIENT_ALLOCATOR: "platform" | ||
CPLUS_INCLUDE_PATH: "$CONDA_PREFIX/targets/x86_64-linux/include" | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
runner: [ParallelHoss] | ||
runs-on: ${{ matrix.runner }} | ||
steps: | ||
- name: Clone repo | ||
- uses: actions/checkout@v4 | ||
|
||
- id: auth | ||
uses: google-github-actions/auth@v2 | ||
with: | ||
credentials_json: "${{ secrets.ARTIFACT_REGISTRY_KEY }}" | ||
|
||
- name: Setup gcloud | ||
uses: google-github-actions/setup-gcloud@v2 | ||
|
||
- name: Install system environment and project dependencies | ||
env: | ||
GITHUB_CI: "true" | ||
run: ./install.sh | ||
|
||
- name: Setup caching for test assets | ||
uses: actions/cache@v4 | ||
with: | ||
path: assets | ||
key: ${{ runner.os }}-${{ matrix.runner }}-assets | ||
restore-keys: ${{ runner.os }}-${{ matrix.runner }}-assets | ||
|
||
- name: Run tests | ||
uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.25.0 | ||
cache: true | ||
run: pixi run all-tests-ci |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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