From f748943be9a17bbfc963c1dfe22d568a94e664b9 Mon Sep 17 00:00:00 2001 From: Alexander Dokuchaev Date: Tue, 26 Nov 2024 02:58:07 +0200 Subject: [PATCH] tf-nighlty --- .github/workflows/nightly.yml | 26 ++++++++++++++++++++++++++ tests/tensorflow/requirements.txt | 1 + 2 files changed, 27 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9ecb8082e87..5598b7f9b51 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -5,6 +5,7 @@ on: workflow_dispatch: schedule: - cron: '0 0 * * *' + pull_request: # TODO: jobs: md-dead-link-check: @@ -13,3 +14,28 @@ jobs: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - uses: AlexanderDokuchaev/md-dead-link-check@cc3ed55268899a1a6d5fd7068abbc4591eab1f74 # v0.9 + tensorflow: + timeout-minutes: 120 + defaults: + run: + shell: bash + runs-on: ubuntu-20.04-8-cores + 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/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