Skip to content

Commit

Permalink
fix test action (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Algue-Rythme authored Mar 15, 2024
1 parent 573887a commit 83596c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ jobs:
set -xe
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements_dev.txt
shell: bash
- name: Build
run: |
set -xe
python -VV
python setup.py install
python -m pip install .
shell: bash
- name: Run tests
timeout-minutes: 60
run: |
set -xe
python -VV
python -c "import tf; print('tf', tf.__version__)"
python -c "import tensorflow as tf; print('tf', tf.__version__)"
pytest tests
shell: bash
5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
scipy<=1.9.3
autodp
absl-py
numpy
deel-lip
matplotlib
ml_collections
pandas
tensorflow
tensorflow<2.16
tensorflow-datasets
wandb
5 changes: 1 addition & 4 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
setuptools
pre-commit
ml_collections
absl-py
pytest
tox
black
Expand All @@ -11,5 +9,4 @@ mkdocs
mkdocs-material
mkdocstrings[python]
mknotebooks
bump2version
wandb
bump2version

0 comments on commit 83596c5

Please sign in to comment.