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

Commit 5db7e17

Browse files
authored
Remove keras tests from GHA (#1595)
1 parent 9c7c285 commit 5db7e17

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
@@ -16,7 +16,6 @@ jobs:
1616
branch: ${{ steps.get-branch.outputs.branch }}
1717
base: ${{ steps.base-check.outputs.output }}
1818
deepsparse: ${{ steps.deepsparse-check.outputs.output }}
19-
keras: ${{ steps.keras-check.outputs.output }}
2019
onnx: ${{ steps.onnx-check.outputs.output }}
2120
pytorch: ${{ steps.pytorch-check.outputs.output }}
2221
tensorflow_v1: ${{ steps.tensorflow_v1-check.outputs.output }}
@@ -43,12 +42,6 @@ jobs:
4342
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/deepsparse|setup.py|.github")
4443
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
4544
&& echo "::set-output name=output::1" || echo "::set-output name=output::0"
46-
- name: "Checking if sparseml.keras was changed"
47-
id: keras-check
48-
run: >
49-
((git diff --name-only origin/main HEAD | grep -E "[src|tests]/sparseml/keras|setup.py|.github")
50-
|| (echo $GITHUB_REF | grep -E "refs/heads/[release/|main]"))
51-
&& echo "::set-output name=output::1" || echo "::set-output name=output::0"
5245
- name: "Checking if sparseml.onnx was changed"
5346
id: onnx-check
5447
run: >
@@ -119,30 +112,6 @@ jobs:
119112
run: pip3 install .[dev,deepsparse,onnxruntime]
120113
- name: "🔬 Running deepsparse tests"
121114
run: make test TARGETS=deepsparse
122-
keras-tests:
123-
runs-on: ubuntu-22.04
124-
env:
125-
SPARSEZOO_TEST_MODE: "true"
126-
needs: test-setup
127-
if: ${{needs.test-setup.outputs.keras == 1}}
128-
steps:
129-
- uses: actions/setup-python@v4
130-
with:
131-
python-version: '3.8'
132-
- uses: actions/checkout@v2
133-
- uses: actions/checkout@v2
134-
with:
135-
repository: "neuralmagic/sparsezoo"
136-
path: "sparsezoo"
137-
ref: ${{needs.test-setup.outputs.branch}}
138-
- name: "⚙️ Install sparsezoo dependencies"
139-
run: pip3 install -U pip && pip3 install setuptools sparsezoo/
140-
- name: "Clean sparsezoo directory"
141-
run: rm -r sparsezoo/
142-
- name: "⚙️ Install dependencies"
143-
run: pip3 install .[dev,tf_keras,onnxruntime]
144-
- name: "🔬 Running keras tests"
145-
run: make test TARGETS=keras
146115
onnx-tests:
147116
runs-on: ubuntu-22.04
148117
env:

0 commit comments

Comments
 (0)