Skip to content

Commit 7c08cd9

Browse files
[ci] fix fail on no tests found if run with pytest_args (#3572)
### Changes Set `set -e` to dont fail on pytest command, and run script forward to suppress `no_test_found` return code if action runs with `pytest_args` Disable "no file found" warning in upload step ### Reason for changes https://github.com/openvinotoolkit/nncf/actions/runs/15164300318/job/42637948116 ### Related tickets 168252 ### Tests https://github.com/openvinotoolkit/nncf/actions/runs/16051113240/job/45293751022?pr=3572
1 parent 1290c84 commit 7c08cd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/conformance_weight_compression.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
run: pip list
4646
- name: Run examples test scope
4747
run: |
48+
set +e
4849
python -m pytest -s -ra tests/post_training/test_quantize_conformance.py::test_weight_compression \
4950
--junit-xml=pytest-results.xml \
5051
--durations-path=tests/post_training/data/wc_test_durations.json \
@@ -66,6 +67,7 @@ jobs:
6667
with:
6768
name: wc_results_${{ matrix.group }}
6869
path: tmp/results.csv
70+
if-no-files-found: ignore
6971
- name: Test Summary
7072
if: ${{ !cancelled() }}
7173
run: |

0 commit comments

Comments
 (0)