From 5c57e23ab091f45209381edbf88038a0c35b8e89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:08:37 +0000 Subject: [PATCH 1/5] chore(deps): Bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7cd8eff..7695bff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,7 +114,7 @@ jobs: steps: - name: Download test reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: test-reports From 693753659e2e60ebedaeb0ee0ed0baa85e0290f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:08:47 +0000 Subject: [PATCH 2/5] chore(deps): Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7cd8eff..f2717a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,7 +100,7 @@ jobs: ./cc-test-reporter format-coverage -t clover -o $CODECLIMATE_REPORT $COVERAGE_FILE - name: Upload tests reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: github.actor != 'dependabot[bot]' with: name: test-reports From de9094dab5ebef929f5c4c9bf93403bb4d80d3f5 Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Fri, 22 Dec 2023 17:21:22 +0700 Subject: [PATCH 3/5] ci: update action upload and download artifact due to their v4 changes Signed-off-by: Fery Wardiyanto --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aff28e9..ecfff3a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,7 +103,7 @@ jobs: uses: actions/upload-artifact@v4 if: github.actor != 'dependabot[bot]' with: - name: test-reports + name: test-reports-${{ matrix.php }} path: tests/reports reports: @@ -116,7 +116,8 @@ jobs: - name: Download test reports uses: actions/download-artifact@v4 with: - name: test-reports + pattern: test-reports-* + merge-multiple: true - name: Report to CodeClimate run: | From ee541758e31922c36aa7a130e747122c9ea65ce3 Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Fri, 22 Dec 2023 17:24:35 +0700 Subject: [PATCH 4/5] fix: fix testing issue on ci Signed-off-by: Fery Wardiyanto --- tests/TestCase.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index d582398..5135181 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -5,12 +5,10 @@ use Creasi\Package\ServiceProvider; use Illuminate\Config\Repository; use Illuminate\Foundation\Testing\DatabaseMigrations; -use Illuminate\Foundation\Testing\RefreshDatabase; use Orchestra\Testbench\TestCase as Orchestra; class TestCase extends Orchestra { - use RefreshDatabase; use DatabaseMigrations; protected function getPackageProviders($app) From 71a852a01fb55687611a2a573dcdbc709ec87bbd Mon Sep 17 00:00:00 2001 From: Fery Wardiyanto Date: Fri, 22 Dec 2023 17:28:29 +0700 Subject: [PATCH 5/5] ci: fix upload artifact name that missing `matrix.db` Signed-off-by: Fery Wardiyanto --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ecfff3a..6757579 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,7 +103,7 @@ jobs: uses: actions/upload-artifact@v4 if: github.actor != 'dependabot[bot]' with: - name: test-reports-${{ matrix.php }} + name: test-reports-${{ matrix.php }}-${{ matrix.db }} path: tests/reports reports: