Skip to content

Commit e5d51fa

Browse files
[GHA] tf nighlty (#3113)
### Changes Add tensorflow nightly test scope
1 parent cf950d2 commit e5d51fa

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.github/workflows/nightly.yml

+25
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,28 @@ jobs:
1313
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1414
- uses: AlexanderDokuchaev/md-dead-link-check@cc3ed55268899a1a6d5fd7068abbc4591eab1f74 # v0.9
1515

16+
tensorflow:
17+
runs-on: ubuntu-20.04-8-cores
18+
timeout-minutes: 60
19+
defaults:
20+
run:
21+
shell: bash
22+
env:
23+
DEBIAN_FRONTEND: noninteractive
24+
steps:
25+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
26+
with:
27+
lfs: true
28+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
29+
with:
30+
python-version: 3.10.14
31+
cache: pip
32+
- name: Install NNCF and test requirements
33+
run: |
34+
pip install -e .
35+
pip install -r tests/tensorflow/requirements.txt
36+
- name: Print installed modules
37+
run: pip list
38+
- name: Run TensorFlow precommit
39+
run: pytest tests/tensorflow -m 'nightly'
40+

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ install-tensorflow-test:
9797
pip install -r tests/tensorflow/requirements.txt
9898
pip install -r tests/cross_fw/install/requirements.txt
9999
pip install -r tests/cross_fw/examples/requirements.txt
100-
pip install -r examples/tensorflow/requirements.txt
101100

102101
install-tensorflow-dev: install-tensorflow-test install-pre-commit
103102
pip install -r examples/post_training_quantization/tensorflow/mobilenet_v2/requirements.txt

tests/tensorflow/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-c ../../constraints.txt
2+
-r ../../examples/tensorflow/requirements.txt
23
PyYAML
34
tensorflow-metadata==1.13.0
45
pytest

0 commit comments

Comments
 (0)