Skip to content

Updated Keras and TensorFlow Task Runner and related workspaces. #2077

Updated Keras and TensorFlow Task Runner and related workspaces.

Updated Keras and TensorFlow Task Runner and related workspaces. #2077

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Interactive API - Tensorflow MNIST
on:
pull_request:
branches: [ develop ]
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest # Add Windows support after https://github.com/keras-team/keras/issues/16308 is merged
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Interactive API - tensorflow_mnist
run: |
python setup.py build_grpc
pip install tensorflow
pip install keras
- name: Check TensorFlow and Keras versions
run: |
python -c "import tensorflow as tf; print('TensorFlow version:', tf.__version__)"
python -c "import keras; print('Keras version:', keras.__version__)"
python -m tests.github.interactive_api_director.experiments.tensorflow_mnist.run