diff --git a/.github/workflows/test_export_onnx_cli_timm.yml b/.github/workflows/test_export_onnx_cli_timm.yml index 6ca2b768559..76a535fcebd 100644 --- a/.github/workflows/test_export_onnx_cli_timm.yml +++ b/.github/workflows/test_export_onnx_cli_timm.yml @@ -1,9 +1,9 @@ -name: Exporters ONNX CLI Timm / Python - Test +name: Exporters ONNX CLI Timm (scheduled) / Python - Test on: workflow_dispatch: - push: - branches: [ main ] + schedule: + - cron: 0 7 * * * # every day at 7am concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -30,4 +30,4 @@ jobs: - name: Test with unittest working-directory: tests run: | - pytest exporters/onnx/test_exporters_onnx_cli.py -n auto -m "timm_test" -s --durations=0 + RUN_SLOW=1 pytest exporters/onnx/test_exporters_onnx_cli.py -n auto -k "timm" -s --durations=0 diff --git a/tests/exporters/onnx/test_exporters_onnx_cli.py b/tests/exporters/onnx/test_exporters_onnx_cli.py index da969a5eb8f..828c808b69f 100644 --- a/tests/exporters/onnx/test_exporters_onnx_cli.py +++ b/tests/exporters/onnx/test_exporters_onnx_cli.py @@ -150,7 +150,7 @@ def _get_models_to_test(export_models_dict: Dict, library_name: str = "transform "perceiver", "encoder-decoder", "vision-encoder-decoder", - "unispeech-sat" + "unispeech-sat", ]: models_to_test.append( (f"{model_type}_no_task_{model_name}", model_type, model_name, "auto", "default", False, False)