This is an automated email from the ASF dual-hosted git repository. hgruszecki pushed a commit to branch fix-wiremock-toggler in repository https://gitbox.apache.org/repos/asf/iggy.git
commit df92cd114da64538138c328fe1561d75af748c3a Author: Hubert Gruszecki <[email protected]> AuthorDate: Wed Feb 4 18:57:27 2026 +0100 fix(ci): fix example jobs, pin wiremock version, relax codecov Node setup ran for all example jobs, causing husky "not found" errors. Scope Node/Python setup to respective tasks and make husky tolerate missing binary. Pin wiremock from :latest to 3.13.2 to reduce flaky pull failures. Relax Codecov comment requirements to post even without base commit. --- .github/workflows/_test_examples.yml | 6 +++--- codecov.yml | 4 ++-- core/integration/tests/connectors/fixtures/wiremock.rs | 4 +++- foreign/node/package.json | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/_test_examples.yml b/.github/workflows/_test_examples.yml index 8a611998d..5fb90f497 100644 --- a/.github/workflows/_test_examples.yml +++ b/.github/workflows/_test_examples.yml @@ -48,7 +48,7 @@ jobs: uses: ./.github/actions/utils/setup-rust-with-cache - name: Setup Node with cache for examples - if: inputs.component == 'examples-suite' + if: inputs.component == 'examples-suite' && inputs.task == 'examples-node' uses: ./.github/actions/utils/setup-node-with-cache with: node-version: "23" @@ -56,13 +56,13 @@ jobs: workspace: examples/node - name: Setup Python - if: inputs.component == 'examples-suite' + if: inputs.component == 'examples-suite' && inputs.task == 'examples-python' uses: actions/setup-python@v5 with: python-version: "3.11" - name: Cache pip - if: inputs.component == 'examples-suite' + if: inputs.component == 'examples-suite' && inputs.task == 'examples-python' uses: actions/cache@v4 with: path: ~/.cache/pip diff --git a/codecov.yml b/codecov.yml index 0cdb369b5..37810f6a6 100644 --- a/codecov.yml +++ b/codecov.yml @@ -37,8 +37,8 @@ coverage: comment: layout: "header, diff, flags, files" behavior: default - require_changes: true - require_base: true + require_changes: false + require_base: false require_head: true ignore: diff --git a/core/integration/tests/connectors/fixtures/wiremock.rs b/core/integration/tests/connectors/fixtures/wiremock.rs index 497243ac9..ceda81949 100644 --- a/core/integration/tests/connectors/fixtures/wiremock.rs +++ b/core/integration/tests/connectors/fixtures/wiremock.rs @@ -26,6 +26,8 @@ use testcontainers_modules::testcontainers::core::{IntoContainerPort, Mount}; use testcontainers_modules::testcontainers::runners::AsyncRunner; use testcontainers_modules::testcontainers::{ContainerAsync, GenericImage, ImageExt}; +const WIREMOCK_IMAGE: &str = "wiremock/wiremock"; +const WIREMOCK_TAG: &str = "3.13.2"; const WIREMOCK_PORT: u16 = 8080; struct WireMockContainer { @@ -41,7 +43,7 @@ impl WireMockContainer { message: format!("Failed to get current dir: {e}"), })?; - let container = GenericImage::new("wiremock/wiremock", "latest") + let container = GenericImage::new(WIREMOCK_IMAGE, WIREMOCK_TAG) .with_exposed_port(WIREMOCK_PORT.tcp()) .with_wait_for(Healthcheck(HealthWaitStrategy::default())) .with_mount(Mount::bind_mount( diff --git a/foreign/node/package.json b/foreign/node/package.json index f339c4225..dd0734df4 100644 --- a/foreign/node/package.json +++ b/foreign/node/package.json @@ -42,7 +42,7 @@ "commitlint": "commitlint --edit", "build": "tsc -p tsconfig.json", "start": "node dist/index.js", - "prepare": "husky" + "prepare": "husky || true" }, "author": "github.com/T1B0", "license": "Apache-2.0",
