Skip to content

Commit

Permalink
Move build-latest CI job to upstream tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Sep 19, 2024
1 parent 8096bfa commit 88b87b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,20 @@ concurrency:

jobs:
latest-releases:
name: Test with latest package releases
name: Test with latest package releases (${{ matrix.os }} Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3.12
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,6 @@ concurrency:
# TODO(jakevdp): add testing on macOS-11 and windows-2019 when grain supports them,
# or alternatively run a subset of tests without grain.
jobs:
build-latest:
name: Latest packages (${{ matrix.os }} Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U jax flax grain ml_dtypes optax orbax-checkpoint orbax-export tensorflow tensorflow_datasets pytest pytest-xdist
- name: Run tests
run: |
pytest -n auto jax_ai_stack
build:
name: Pinned packages (${{ matrix.os }} Python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 88b87b9

Please sign in to comment.