Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperemy authored Dec 30, 2020
1 parent 3b0adc7 commit 67a92f5
Showing 1 changed file with 4 additions and 40 deletions.
44 changes: 4 additions & 40 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,44 +24,8 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --max-complexity 20 --max-line-length 127 --statistics
- name: Install deps without tensorflow
- name: Test with tox
run: |
pip install -r requirements.txt
pip install -r examples/examples-requirements.txt
pip install pytest
pip install -e .
- name: Run tests with tensorflow 2.2
run: |
pip install tensorflow==2.2.0
cd examples
python recurrent.py
python multi_inputs.py
python heat_map.py
python vgg16.py
python dump_activations_to_disk.py
cd ..
pytest tests --disable-pytest-warnings
- name: Run tests with tensorflow 2.3
run: |
pip install tensorflow==2.3.0
cd examples
python recurrent.py
python multi_inputs.py
python heat_map.py
python vgg16.py
python dump_activations_to_disk.py
cd ..
pytest tests --disable-pytest-warnings
- name: Run tests with tensorflow 2.4
run: |
pip install tensorflow==2.4.0
cd examples
python recurrent.py
python multi_inputs.py
python heat_map.py
python vgg16.py
python dump_activations_to_disk.py
cd ..
pytest tests --disable-pytest-warnings
pip install tox
# tox --parallel all
tox

0 comments on commit 67a92f5

Please sign in to comment.