Merge pull request #11 from pdsinterop/qa/update-ubuntu-image #9
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: Test jobs | |
on: | |
- push | |
- pull_request | |
# Allow manually triggering the workflow. | |
- workflow_dispatch | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
# The concurrency group contains the workflow name and the branch name. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
phpunit: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
php: ['8.0', '8.1'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- uses: "ramsey/composer-install@v2" | |
with: | |
composer-options: --no-scripts | |
- run: bin/phpunit |