diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7cd8eff..6757579 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -100,10 +100,10 @@ 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 + name: test-reports-${{ matrix.php }}-${{ matrix.db }} path: tests/reports reports: @@ -114,9 +114,10 @@ jobs: steps: - name: Download test reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: test-reports + pattern: test-reports-* + merge-multiple: true - name: Report to CodeClimate run: | 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)