diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 08100c8..646fa81 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,21 +2,24 @@ name: tests on: push: - branches: [main] + branches: + - main paths: - - '**.php' - - 'composer.json' - - '.github/**' + - **.php + - composer.json + - .github/** pull_request: - branches: [main] + branches: + - main paths: - - '**.php' - - 'composer.json' - - '.github/**' + - **.php + - composer.json + - .github/** jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: false matrix: @@ -76,7 +79,6 @@ jobs: sed -i 's|/home/runner/work/laravel-model-hashid/laravel-model-hashid/src|/github/workspace/src|g' build/logs/clover.xml sed -i 's|/home/runner/work/laravel-model-hashid/laravel-model-hashid/src|/github/workspace/src|g' build/logs/tests.xml - - name: SonarCloud uses: sonarsource/sonarcloud-github-action@master env: