start fixing for tf 2.0 release, tests passing locally #43
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
name: pytest | |
on: | |
push: | |
branches: | |
- master | |
# all branches | |
- '**' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install pipenv | |
uses: dschep/install-pipenv-action@v1 | |
- name: Install dependencies | |
run: | | |
pipenv install --dev | |
- name: Test with pytest | |
run: | | |
pipenv run pytest |