Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix test action #1

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading