diff --git a/.github/workflows/test-all.yaml b/.github/workflows/test-all.yaml index 14a914ca5..94a69ca9b 100644 --- a/.github/workflows/test-all.yaml +++ b/.github/workflows/test-all.yaml @@ -6,7 +6,13 @@ on: branches: - development - master - workflow_dispatch: {} + workflow_dispatch: + inputs: + skip_tests: + description: 'Skip run_monorepo_tests and go straight to build-marketplace' + required: false + type: boolean + default: false jobs: build_strategy_matrix: @@ -78,6 +84,7 @@ jobs: run_monorepo_tests: needs: build_strategy_matrix + if: ${{ github.event_name != 'workflow_dispatch' || inputs.skip_tests != true }} runs-on: ubuntu-latest strategy: # matrix: [{"package": some package that changed}, {...}, ...] @@ -153,7 +160,10 @@ jobs: build-marketplace: name: Build marketplace - if: (github.repository == 'mlrun/functions' || github.repository == 'mlrun/hub-assets') + if: | + always() && + (github.repository == 'mlrun/functions' || github.repository == 'mlrun/hub-assets') && + (needs.run_monorepo_tests.result == 'success' || needs.run_monorepo_tests.result == 'skipped') runs-on: ubuntu-latest needs: run_monorepo_tests continue-on-error: false diff --git a/functions/src/silero_vad/test_silero_vad.py b/functions/src/silero_vad/test_silero_vad.py index d46471a57..6fe948ee7 100644 --- a/functions/src/silero_vad/test_silero_vad.py +++ b/functions/src/silero_vad/test_silero_vad.py @@ -4,6 +4,10 @@ import mlrun import pytest +pytestmark = pytest.mark.skip( + reason="Skipped until FHUB-248 is addressed" +) + @pytest.fixture() def setup_test():