diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 54f2a2c..cc8e0ad 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -154,11 +154,13 @@ jobs: - name: "List all coverage reports" run: echo coverage_reports=./coverage/$(ls -m coverage/ | sed "s/, */,.\/coverage\//g") >> $GITHUB_ENV - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: files: ./coverage.xml,${{ env.coverage_reports }} fail_ci_if_error: true verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} analysis: name: "Static Analysis" diff --git a/composer.json b/composer.json index 16db14d..6c7d076 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,11 @@ "autoload-dev": { "psr-4": { "Churn\\Tests\\": "tests" - } + }, + "exclude-from-classmap": [ + "/tests/Unit/Assets", + "/tests/Unit/Assets2" + ] }, "bin": [ "bin/churn" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 01e06e4..85baba3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -25,5 +25,6 @@ +