Skip to content

Commit

Permalink
Fiddle with the pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
reimic committed Jun 7, 2024
1 parent 5763054 commit 827076f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- unit
- e2e
required: false
default: default
default: 'default'
push:
pull_request:
branches:
Expand All @@ -35,6 +35,6 @@ jobs:
php: ${{ matrix.php }}
phpunit-config: 'phpunit.xml.dist'
# for a manual workflow dispatch -> will use the TEST_SUITE value
# for pushes to any branch -> will only run unit tests
# for all pushes to any branch -> will only run unit tests
# for pull requests to the trunk -> will run unit and e2e tests
phpunit-testsuite: ${{ (github.event_name == 'workflow_dispatch' && github.event.inputs.TEST_SUITE != '') && github.event.inputs.TEST_SUITE || (github.event_name == 'push' && 'unit') || 'default' }}

0 comments on commit 827076f

Please sign in to comment.