Skip to content

Commit

Permalink
[GHA] tf nighlty (openvinotoolkit#3113)
Browse files Browse the repository at this point in the history
### Changes

Add tensorflow nightly test scope
  • Loading branch information
AlexanderDokuchaev authored Dec 4, 2024
1 parent cf950d2 commit e5d51fa
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,28 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: AlexanderDokuchaev/md-dead-link-check@cc3ed55268899a1a6d5fd7068abbc4591eab1f74 # v0.9

tensorflow:
runs-on: ubuntu-20.04-8-cores
timeout-minutes: 60
defaults:
run:
shell: bash
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
lfs: true
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: 3.10.14
cache: pip
- name: Install NNCF and test requirements
run: |
pip install -e .
pip install -r tests/tensorflow/requirements.txt
- name: Print installed modules
run: pip list
- name: Run TensorFlow precommit
run: pytest tests/tensorflow -m 'nightly'

1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ install-tensorflow-test:
pip install -r tests/tensorflow/requirements.txt
pip install -r tests/cross_fw/install/requirements.txt
pip install -r tests/cross_fw/examples/requirements.txt
pip install -r examples/tensorflow/requirements.txt

install-tensorflow-dev: install-tensorflow-test install-pre-commit
pip install -r examples/post_training_quantization/tensorflow/mobilenet_v2/requirements.txt
Expand Down
1 change: 1 addition & 0 deletions tests/tensorflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-c ../../constraints.txt
-r ../../examples/tensorflow/requirements.txt
PyYAML
tensorflow-metadata==1.13.0
pytest
Expand Down

0 comments on commit e5d51fa

Please sign in to comment.