Update tensorflow requirement from !=2.6.0,!=2.6.1,<2.15.0,>=2.2.0 to >=2.2.0,!=2.6.0,!=2.6.1,<2.19.0 #206
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflows executes all example notebooks to ensure they are up-to-date. | |
name: test_all_notebooks | |
defaults: | |
run: | |
shell: bash # To override PowerShell on Windows | |
on: | |
# Trigger the workflow on manual dispatch and once a week | |
workflow_dispatch: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
jobs: | |
test_notebooks: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false # Continue to run other builds despite a failure | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.9', '3.10', '3.11' ] | |
include: # Run windows tests on only one python version | |
- os: windows-latest | |
python-version: '3.10' # torch 1.x not available on Windows for Python 3.11 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install --upgrade --upgrade-strategy eager -r requirements/dev.txt -r testing/requirements.txt | |
python -m pip install --upgrade --upgrade-strategy eager .[prophet,torch,tensorflow] | |
python -m pip freeze | |
- name: Run notebooks | |
run: | | |
pytest --suppress-no-test-exit-code --no-cov -rA --durations=0 -vv -p no:randomly testing/test_notebooks.py |