Workflow updates #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
# This workflow will run after a merge to the main branch from a pull request. | |
on: | |
merge_group: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
pest: | |
name: "PEST" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # [email protected] | |
with: | |
php-version: ${{ env.PHP_VERSION }} | |
coverage: pcov | |
- run: composer install --no-progress | |
- run: vendor/bin/pest --order-by random --fail-on-risky --stop-on-defect --coverage --parallel | |
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # [email protected] | |
with: | |
directory: ./coverage/ | |
flags: unittests |