From 3e21d4948e0f8703cd72a20913c99ec4861b6bef Mon Sep 17 00:00:00 2001 From: Jas9889 Date: Thu, 9 Oct 2025 15:20:03 +0530 Subject: [PATCH 1/3] Add test-ci branch in ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46b318d6273..a52ad1546e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ master ] + branches: [ test-ci ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From c503aed1d191fb5a27bbbb8d3d36f3e13f7c751d Mon Sep 17 00:00:00 2001 From: Jas9889 Date: Thu, 9 Oct 2025 16:23:18 +0530 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a52ad1546e9..46b318d6273 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [ test-ci ] + branches: [ master ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 0dd7fe19cda0ce3b4c3b2007b92b51105020f922 Mon Sep 17 00:00:00 2001 From: Jas9889 Date: Fri, 10 Oct 2025 19:29:21 +0530 Subject: [PATCH 3/3] Changes ci yml --- .github/workflows/ci.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46b318d6273..d1330ff322a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,8 @@ name: CI on: push: branches: [ master ] - # Allows you to run this workflow manually from the Actions tab + pull_request: + branches: [ master ] workflow_dispatch: env: @@ -24,9 +25,6 @@ jobs: strategy: fail-fast: false matrix: - ## the full list of supported (prebuilt) OTP versions for ubuntu-22.04 runners - ## can be found here: - ## https://builds.hex.pm/builds/otp/ubuntu-22.04/builds.txt otp: [ '27.3.4.2', '28.0.2' ] runs-on: ubuntu-22.04 env: @@ -58,7 +56,9 @@ jobs: parallel: true - name: upload common test results on failure if: ${{ failure() }} - run: tools/gh-upload-to-s3.sh _build/test/logs test_logs + run: | + tools/gh-upload-to-s3.sh _build/test/logs test_logs + exit 1 # Explicitly fail if uploading test results fails big_tests: name: ${{matrix.preset}} on OTP ${{matrix.otp}} @@ -92,7 +92,9 @@ jobs: test-spec: ${{matrix.test-spec}} - name: upload common test results on failure if: ${{ failure() }} - run: tools/gh-upload-to-s3.sh big_tests/ct_report + run: | + tools/gh-upload-to-s3.sh big_tests/ct_report + exit 1 # Explicitly fail if uploading test results fails - name: upload big_tests results to GA4 if: ${{ !cancelled() && github.ref_name == 'master' }} run: tools/gh-report-failing-testcases-to-ga4.sh @@ -123,7 +125,9 @@ jobs: test-spec: ${{matrix.test-spec}} - name: upload common test results on failure if: ${{ failure() }} - run: tools/gh-upload-to-s3.sh big_tests/ct_report + run: | + tools/gh-upload-to-s3.sh big_tests/ct_report + exit 1 # Explicitly fail if uploading test results fails - name: upload big_tests results to GA4 if: ${{ !cancelled() && github.ref_name == 'master' }} run: tools/gh-report-failing-testcases-to-ga4.sh