Created
July 2, 2022 13:00
-
-
Save osteel/d89d86aadde4c9b75f705e998ca485b5 to your computer and use it in GitHub Desktop.
PHP compatibility demo – workflow v1
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
phpunit: | |
name: PHPUnit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
coverage: none | |
- name: Install composer dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: Run PHPUnit | |
run: vendor/bin/phpunit tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment