Skip to content

Commit

Permalink
Mark JAX git repository as safe in the asan workflow
Browse files Browse the repository at this point in the history
We are not able to run `git` commands without it

PiperOrigin-RevId: 700336969
  • Loading branch information
nitins17 authored and Google-ML-Automation committed Nov 26, 2024
1 parent dc11d40 commit 8ff1cc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/asan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ jobs:
source ${GITHUB_WORKSPACE}/venv/bin/activate
cd jax
pip install -r build/test-requirements.txt
- name: Mark GitHub repository as safe to allow running git commands
run: |
git config --global --add safe.directory jax
- name: Build and install JAX
env:
ASAN_OPTIONS: detect_leaks=0
Expand Down

0 comments on commit 8ff1cc8

Please sign in to comment.