Skip to content

Commit

Permalink
Add a test against keras-nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdangerw committed Jul 12, 2024
1 parent 360da5b commit e9c68ec
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
fail-fast: false
matrix:
backend: [tensorflow, jax, torch]
version: [latest]
version: [stable]
include:
- backend: torch
- backend: jax
version: 3.1
- backend: jax
version: nightly
runs-on: ubuntu-latest
env:
KERAS_BACKEND: ${{ matrix.backend }}
Expand All @@ -46,11 +48,16 @@ jobs:
run: |
pip install -r requirements.txt --progress-bar off
pip install --no-deps -e "." --progress-bar off
- name: Pin Keras version
- name: Pin Keras 3.1
if: ${{ matrix.version == '3.1'}}
run: |
pip uninstall -y keras
pip install keras==3.1.0 --progress-bar off
- name: Pin Keras Nightly
if: ${{ matrix.version == 'nightly'}}
run: |
pip uninstall -y keras
pip install keras-nightly --progress-bar off
- name: Test with pytest
run: |
pytest keras_nlp/
Expand Down

0 comments on commit e9c68ec

Please sign in to comment.