Skip to content

Commit

Permalink
Merge pull request #11532 from jakevdp:fix-upstream-ci
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 461706572
  • Loading branch information
jax authors committed Jul 18, 2022
2 parents b0805a8 + 2eaa44e commit e1fdd57
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/upstream-nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CI-Nightly
# Adapted from https://github.com/pydata/xarray/blob/main/.github/workflows/upstream-dev-ci.yaml
# This configures a github action that runs the JAX test suite against nightly development builds
# of numpy and scipy, in order to catch issues with new package versions prior to their release.
# Unlike our other CI, this is one that we expect to fail frequently, and so we don't run it against
# every commit and PR in the repository. Rather, we run it on a schedule, and failures lead to an
# issue being created or updated.
# Portions of this adapted from https://github.com/pydata/xarray/blob/main/.github/workflows/upstream-dev-ci.yaml

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -62,7 +67,7 @@ jobs:
echo "JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS"
pytest -n auto --tb=short -rf \
--report-log output-${{ matrix.python-version }}-log.jsonl \
tests/lax_numpy_test.py \
tests \
|| (
echo '::set-output name=ARTIFACTS_AVAILABLE::true' && false
)
Expand Down

0 comments on commit e1fdd57

Please sign in to comment.