Skip to content

Commit dc11f12

Browse files
committed
enable pytest gpu workflow
1 parent 8b65c70 commit dc11f12

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/pytest_gpu.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Run Pytest GPU tests
22

3-
# on:
4-
# pull_request:
5-
# branches:
6-
# - main
3+
on:
4+
pull_request:
5+
branches:
6+
- main
77

88
jobs:
99
build:
@@ -18,7 +18,7 @@ jobs:
1818

1919
env:
2020
# GitHub actions run in Docker by defaut. Disable running the `setup_docker.sh` script.
21-
JAXCI_SETUP_DOCKER: 0
21+
JAXCI_RUN_DOCKER_CONTAINER: 0
2222
# Use RBE to build the artifacts.
2323
JAXCI_BUILD_ARTIFACT_WITH_RBE: 1
2424
# Setup the test environment (disable x64 mode and clone XLA at HEAD)
@@ -31,11 +31,11 @@ jobs:
3131
- name: Wait For Connection
3232
uses: ./actions/ci_connection/
3333
- name: Build jaxlib
34-
run: ./ci/build_artifacts.sh jaxlib
34+
run: ./ci/build_artifacts.sh "ci/envs/build_artifacts/jaxlib"
3535
- name: Build jax-cuda-plugin
36-
run: ./ci/build_artifacts.sh jax-cuda-plugin
36+
run: ./ci/build_artifacts.sh "ci/envs/build_artifacts/jax-cuda-plugin"
3737
- name: Build jax-cuda-pjrt
38-
run: ./ci/build_artifacts.sh jax-cuda-pjrt
38+
run: ./ci/build_artifacts.sh jax-cuda-pjrt "ci/envs/build_artifacts/jax-cuda-pjrt"
3939
- name: Install pytest
4040
env:
4141
JAXCI_PYTHON: python${{ matrix.python }}
@@ -45,6 +45,4 @@ jobs:
4545
JAXCI_PYTHON: python${{ matrix.python }}
4646
run: $JAXCI_PYTHON -m pip install -r build/test-requirements.txt
4747
- name: Run Pytest GPU tests
48-
env:
49-
ENV_FILE: ci/envs/run_tests/pytest_gpu
50-
run: ./ci/run_pytest.sh
48+
run: ./ci/run_pytest.sh "ci/envs/run_tests/pytest_gpu"

0 commit comments

Comments
 (0)