From 256b372fb53fd56d70f59fd2feecda7e07ca6e60 Mon Sep 17 00:00:00 2001 From: KEL Date: Mon, 7 Jul 2025 23:26:15 +1000 Subject: [PATCH 01/12] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9f4c26..64a93b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: pull_request: branches: - main + workflow_dispatch: concurrency: group: ${{ github.ref }} From 71b4521b69b0f57a0ad26d19917fa8fde573708b Mon Sep 17 00:00:00 2001 From: KEL Date: Mon, 7 Jul 2025 23:27:53 +1000 Subject: [PATCH 02/12] Update action.yml --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 9e4cb92..b8d0e53 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ runs: - name: Archive the code coverage file (lcov) if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ inputs.output-artifact-name }} path: | @@ -56,7 +56,7 @@ runs: - name: Archive the code coverage file (textfile) if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage-textfile path: | From 4d42392f741e76338bd498bbaf097479df5dd0b3 Mon Sep 17 00:00:00 2001 From: KEL Date: Mon, 7 Jul 2025 23:37:42 +1000 Subject: [PATCH 03/12] Update action.yml --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index b8d0e53..6b1e0be 100644 --- a/action.yml +++ b/action.yml @@ -61,3 +61,11 @@ runs: name: coverage-textfile path: | coverage.txt + + - name: Archive the build for debugging + if: always() + uses: actions/upload-artifact@v4 + with: + name: coverage-textfile + path: | + ${{ inputs.build-path }} From 09652f23c15415f3b4fe2b20423780fb931b2c7c Mon Sep 17 00:00:00 2001 From: KEL Date: Mon, 7 Jul 2025 23:38:03 +1000 Subject: [PATCH 04/12] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 6b1e0be..bf447cc 100644 --- a/action.yml +++ b/action.yml @@ -66,6 +66,6 @@ runs: if: always() uses: actions/upload-artifact@v4 with: - name: coverage-textfile + name: build files path: | ${{ inputs.build-path }} From 5d393a724aebfedd534d4c5516fca8b8aa4e0a9d Mon Sep 17 00:00:00 2001 From: KEL Date: Mon, 7 Jul 2025 23:40:28 +1000 Subject: [PATCH 05/12] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index bf447cc..32b8c2d 100644 --- a/action.yml +++ b/action.yml @@ -66,6 +66,6 @@ runs: if: always() uses: actions/upload-artifact@v4 with: - name: build files + name: build-files path: | ${{ inputs.build-path }} From 8282fe1e15175417fc3f147d6985a92b0dafd6be Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Mon, 7 Jul 2025 23:45:35 +1000 Subject: [PATCH 06/12] wip --- .github/workflows/ci.yml | 6 ++++++ action.yml | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64a93b8..a094927 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,12 @@ jobs: steps: - uses: actions/checkout@v1 - run: swift test --enable-code-coverage + - name: Archive the build for debugging + uses: actions/upload-artifact@v4 + with: + name: build-files + path: | + .build - uses: ./ name: Run swifty-code-coverage with: diff --git a/action.yml b/action.yml index 32b8c2d..09e44ff 100644 --- a/action.yml +++ b/action.yml @@ -62,10 +62,3 @@ runs: path: | coverage.txt - - name: Archive the build for debugging - if: always() - uses: actions/upload-artifact@v4 - with: - name: build-files - path: | - ${{ inputs.build-path }} From 2371994a0d012ad0628fd01e73bf33d25eae2b08 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Mon, 7 Jul 2025 23:47:04 +1000 Subject: [PATCH 07/12] wip --- .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 a094927..562cf6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Archive the build for debugging uses: actions/upload-artifact@v4 with: - name: build-files + name: build-files-{{ matrix.os }} path: | .build - uses: ./ From d0563224a2a5ab1c0954b8dad782d8c7fb999bc6 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Mon, 7 Jul 2025 23:51:55 +1000 Subject: [PATCH 08/12] wip --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 562cf6a..c363c1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,15 @@ jobs: steps: - uses: actions/checkout@v1 - run: swift test --enable-code-coverage + - name: show all files + shell: bash + run: ls -a - name: Archive the build for debugging uses: actions/upload-artifact@v4 with: name: build-files-{{ matrix.os }} path: | - .build + .build/ - uses: ./ name: Run swifty-code-coverage with: From 345bbeedd5557c55d09a80c1d5ae93091285d225 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Mon, 7 Jul 2025 23:53:39 +1000 Subject: [PATCH 09/12] wip --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c363c1d..3353208 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,9 @@ jobs: - run: swift test --enable-code-coverage - name: show all files shell: bash - run: ls -a + run: | + cd .build + ls -a - name: Archive the build for debugging uses: actions/upload-artifact@v4 with: From cf925202dc249e3fa27b8a544624571b18e43ae3 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Mon, 7 Jul 2025 23:58:52 +1000 Subject: [PATCH 10/12] wip --- .github/workflows/ci.yml | 6 +++--- .gitignore | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3353208..e959872 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v1 - - run: swift test --enable-code-coverage + - run: swift test --enable-code-coverage --build-path build-files - name: show all files shell: bash run: | @@ -32,11 +32,11 @@ jobs: with: name: build-files-{{ matrix.os }} path: | - .build/ + build-files - uses: ./ name: Run swifty-code-coverage with: - build-path: .build + build-path: build-files target: SamplePackageTests.xctest is-spm: true output: "coverage/lcov.info" diff --git a/.gitignore b/.gitignore index 330d167..5d00a06 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,4 @@ fastlane/test_output # https://github.com/johnno1962/injectionforxcode iOSInjectionProject/ +build-files From 8f85b3b607f33d003300ae9ec6fd2973f74e00e3 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Tue, 8 Jul 2025 00:01:12 +1000 Subject: [PATCH 11/12] wip --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e959872..5d0a656 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,11 +22,6 @@ jobs: steps: - uses: actions/checkout@v1 - run: swift test --enable-code-coverage --build-path build-files - - name: show all files - shell: bash - run: | - cd .build - ls -a - name: Archive the build for debugging uses: actions/upload-artifact@v4 with: From 83aa443f785c6ae074ebed17835b38c43abb9d53 Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Tue, 8 Jul 2025 00:09:10 +1000 Subject: [PATCH 12/12] wip --- .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 5d0a656..bf05906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Archive the build for debugging uses: actions/upload-artifact@v4 with: - name: build-files-{{ matrix.os }} + name: build-files-${{ matrix.os }} path: | build-files - uses: ./