Skip to content

Integration tests using keras.io guides #444

Integration tests using keras.io guides

Integration tests using keras.io guides #444

name: Integration tests using keras.io guides
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
guides:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Get pip cache dir
id: pip-cache
run: |
python -m pip install --upgrade pip setuptools
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v3
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
- name: Install dependencies
run: |
pip install -e ".[tensorflow-cpu,tests]" --progress-bar off --upgrade
pip install jax[cpu] --progress-bar off --upgrade
pip install tensorflow==2.16.0rc0
- name: Run the guides
run: bash shell/run_guides.sh