diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9ecb8082e87..6d4788ca07b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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' + diff --git a/Makefile b/Makefile index 4be051099e9..05e9b70b841 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/tests/tensorflow/requirements.txt b/tests/tensorflow/requirements.txt index b63a60eeed2..cbb95ec8888 100644 --- a/tests/tensorflow/requirements.txt +++ b/tests/tensorflow/requirements.txt @@ -1,4 +1,5 @@ -c ../../constraints.txt +-r ../../examples/tensorflow/requirements.txt PyYAML tensorflow-metadata==1.13.0 pytest