Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit c21fe6d

Browse files
authored
Remove tensorflow-v1 tests from GHA (#1606)
1 parent c5769a2 commit c21fe6d

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.github/workflows/test-check.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
deepsparse: ${{ steps.deepsparse-check.outputs.output }}
1919
onnx: ${{ steps.onnx-check.outputs.output }}
2020
pytorch: ${{ steps.pytorch-check.outputs.output }}
21-
tensorflow_v1: ${{ steps.tensorflow_v1-check.outputs.output }}
2221
steps:
2322
- uses: actions/checkout@v2
2423
with:
@@ -54,12 +53,6 @@ jobs:
5453
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/pytorch|setup.py|.github")
5554
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
5655
&& echo "::set-output name=output::1" || echo "::set-output name=output::0"
57-
- name: "Checking if sparseml.tensorflow_v1 was changed"
58-
id: tensorflow_v1-check
59-
run: >
60-
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/tensorflow_v1|setup.py|.github")
61-
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
62-
&& echo "::set-output name=output::1" || echo "::set-output name=output::0"
6356
base-tests:
6457
runs-on: ubuntu-22.04
6558
env:
@@ -160,30 +153,6 @@ jobs:
160153
run: pip3 install .[dev,torchvision,onnxruntime]
161154
- name: "🔬 Running pytorch tests"
162155
run: make test TARGETS=pytorch
163-
tensorflow-v1-tests:
164-
runs-on: ubuntu-22.04
165-
env:
166-
SPARSEZOO_TEST_MODE: "true"
167-
needs: test-setup
168-
if: ${{needs.test-setup.outputs.tensorflow_v1 == 1}}
169-
steps:
170-
- uses: actions/setup-python@v4
171-
with:
172-
python-version: '3.7'
173-
- uses: actions/checkout@v2
174-
- uses: actions/checkout@v2
175-
with:
176-
repository: "neuralmagic/sparsezoo"
177-
path: "sparsezoo"
178-
ref: ${{needs.test-setup.outputs.branch}}
179-
- name: "⚙️ Install sparsezoo dependencies"
180-
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
181-
- name: "Clean sparsezoo directory"
182-
run: rm -r sparsezoo/
183-
- name: "⚙️ Install dependencies"
184-
run: pip3 install .[dev,tf_v1,onnxruntime]
185-
- name: "🔬 Running tensorflow_v1 tests"
186-
run: make test TARGETS=tensorflow_v1
187156
compat-pytorch-1_9-pytorch-tests:
188157
runs-on: ubuntu-22.04
189158
env:

0 commit comments

Comments
 (0)