From fc1ee896aac5b860f7581d04ed942f90f1a6bad7 Mon Sep 17 00:00:00 2001 From: riya-n Date: Tue, 9 Jan 2024 22:22:35 -0800 Subject: [PATCH 1/2] fix --- .github/workflows/trunk-hourly-e2e-tests.yml | 24 ++++++++++---------- .github/workflows/trunk-hourly-tests.yml | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/trunk-hourly-e2e-tests.yml b/.github/workflows/trunk-hourly-e2e-tests.yml index 3557c8c47ded2..6a013309e2651 100644 --- a/.github/workflows/trunk-hourly-e2e-tests.yml +++ b/.github/workflows/trunk-hourly-e2e-tests.yml @@ -127,8 +127,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info @@ -147,8 +147,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info @@ -167,8 +167,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info @@ -188,8 +188,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info @@ -210,8 +210,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info @@ -221,8 +221,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: cypress/reports/**/*junit*.xml - org_url_slug: trunk-staging-org + junit-paths: cypress/reports/**/*junit*.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} tags: tests=e2e env: diff --git a/.github/workflows/trunk-hourly-tests.yml b/.github/workflows/trunk-hourly-tests.yml index 2a09b6bafe913..3edfbb2e33b1c 100644 --- a/.github/workflows/trunk-hourly-tests.yml +++ b/.github/workflows/trunk-hourly-tests.yml @@ -48,8 +48,8 @@ jobs: - name: Upload results uses: trunk-io/analytics-uploader@main with: - junit_paths: target/junit/**/*_test.xml - org_url_slug: trunk-staging-org + junit-paths: target/junit/**/*_test.xml + org-slug: trunk-staging-org token: ${{ secrets.TRUNK_DEBUGGER_TOKEN }} env: TRUNK_LOG: info From 0e0f7f580c5623853513fe2dcd8971af0fd943f5 Mon Sep 17 00:00:00 2001 From: riya-n Date: Wed, 10 Jan 2024 00:38:46 -0800 Subject: [PATCH 2/2] continue on failed test too --- .github/workflows/trunk-hourly-e2e-tests.yml | 6 ++++++ .github/workflows/trunk-hourly-tests.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/.github/workflows/trunk-hourly-e2e-tests.yml b/.github/workflows/trunk-hourly-e2e-tests.yml index 6a013309e2651..ca041f065b14a 100644 --- a/.github/workflows/trunk-hourly-e2e-tests.yml +++ b/.github/workflows/trunk-hourly-e2e-tests.yml @@ -125,6 +125,7 @@ jobs: - run: ls -l ./cypress/reports/mochareports/ - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml @@ -145,6 +146,7 @@ jobs: - run: ls -l ./cypress/reports/mochareports/ - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml @@ -165,6 +167,7 @@ jobs: - run: ls -l ./cypress/reports/mochareports/ - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml @@ -186,6 +189,7 @@ jobs: - run: ls -l ./cypress/reports/mochareports/ - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml @@ -208,6 +212,7 @@ jobs: continue-on-error: true - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml @@ -219,6 +224,7 @@ jobs: continue-on-error: true - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: cypress/reports/**/*junit*.xml diff --git a/.github/workflows/trunk-hourly-tests.yml b/.github/workflows/trunk-hourly-tests.yml index 3edfbb2e33b1c..22e704b74a89a 100644 --- a/.github/workflows/trunk-hourly-tests.yml +++ b/.github/workflows/trunk-hourly-tests.yml @@ -46,6 +46,7 @@ jobs: continue-on-error: true - name: Upload results + if: "!cancelled()" uses: trunk-io/analytics-uploader@main with: junit-paths: target/junit/**/*_test.xml