Skip to content

Commit

Permalink
Enable sim_no_compile test in CI.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 629692455
  • Loading branch information
dniku authored and Torax team committed May 1, 2024
1 parent e41fd1b commit 5befd7f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ jobs:
-vv -n auto \
--shard-id=$((${{ matrix.shard-id }} - 1)) --num-shards=${{ env.PYTEST_NUM_SHARDS }}
# # TODO(b/326579500): pass env variable and run under pytest
# - name: "Run torax/tests/sim_no_compile.py"
# run: TORAX_COMPILATION_ENABLED=False python torax/tests/sim_no_compile.py
# One test requires an extra environment variable, so we run it separately.
- name: Run sim_no_compile
if: ${{ matrix.shard-id == 1 }}
run: |
TORAX_COMPILATION_ENABLED=False pytest -vv -n auto torax/tests/sim_no_compile.py

0 comments on commit 5befd7f

Please sign in to comment.