Skip to content

Removed tf.keras.__version__ for keras.__version__ #2

Removed tf.keras.__version__ for keras.__version__

Removed tf.keras.__version__ for keras.__version__ #2

name: Tests
on:
push:
branches:
- master
env:
PYPI: 0
PYPITEST: 1
TWINE_USERNAME: __token__
TWINE_PASSWORD_PYPITEST: ${{ secrets.TWINE_PASSWORD_PYPITEST }}
TWINE_PASSWORD_PYPI: ${{ secrets.TWINE_PASSWORD_PYPI }}
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python --version
- name: Install test prerequisites
run: |
pip install cython
pip install .[tests]
- name: Run tests
run: python setup.py test -v