From b178ea98060b266864ef31c25f524e33bf144574 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 18 Dec 2024 11:34:54 -0500 Subject: [PATCH 1/4] Update README.md Signed-off-by: Charles Cooper --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6f67038..7dc236b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +test test test + # [`CreateX`](./src/CreateX.sol) – A Trustless, Universal Contract Deployer [![🕵️‍♂️ Test CreateX](https://github.com/pcaversaccio/createx/actions/workflows/test-createx.yml/badge.svg)](https://github.com/pcaversaccio/createx/actions/workflows/test-createx.yml) From e349fb18ad2e056d255cd17810b1830105b900ac Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Wed, 18 Dec 2024 18:32:36 +0100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=91=B7=20Checkout=20Head=20Branch=20i?= =?UTF-8?q?n=20`pull=5Frequest=5Ftarget`=20Workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .github/workflows/test-createx.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-createx.yml b/.github/workflows/test-createx.yml index d5da19a..dcb6159 100644 --- a/.github/workflows/test-createx.yml +++ b/.github/workflows/test-createx.yml @@ -26,6 +26,9 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + # Ensure the pull request's head branch is checked out. + ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Install pnpm uses: pnpm/action-setup@v3 From 23524127e0e7ccbe2ce2c26cf6771251350e7fd9 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Wed, 18 Dec 2024 18:37:49 +0100 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=91=B7=20Testing=20in=20Prod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .github/workflows/test-createx.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test-createx.yml b/.github/workflows/test-createx.yml index dcb6159..2111bde 100644 --- a/.github/workflows/test-createx.yml +++ b/.github/workflows/test-createx.yml @@ -160,6 +160,12 @@ jobs: - name: Remove unnecessary `test` directory run: lcov --branch-coverage --remove lcov.info 'test/*' --output-file lcov.info --ignore-errors inconsistent,inconsistent + # Debugging step to confirm file generation and path + - name: Debug LCOV file + run: | + echo "Verifying LCOV file existence:" + ls -la ./lcov.info || echo "LCOV file not found" + - name: Post coverage report # See https://github.com/orgs/community/discussions/26829#discussioncomment-3253575. if: ${{ (github.event.pull_request.head.repo.full_name == github.repository && github.event_name == 'pull_request') || (github.event.pull_request.head.repo.full_name != github.repository && github.event_name == 'pull_request_target') }} From 36c38e1c2428d8975b0ed3792f01a13a06d9b5e2 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Wed, 18 Dec 2024 18:47:05 +0100 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=91=B7=20Testing=20in=20Prod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .github/workflows/test-createx.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-createx.yml b/.github/workflows/test-createx.yml index 2111bde..4c33bc0 100644 --- a/.github/workflows/test-createx.yml +++ b/.github/workflows/test-createx.yml @@ -173,6 +173,7 @@ jobs: with: title: "`CreateX` Test Coverage Report" delete-old-comments: true + working-directory: ./ lcov-file: ./lcov.info github-token: ${{ secrets.GITHUB_TOKEN }}