Merge pull request #22 from AlexandreBellas/develop #114
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: On commit => execute test workflow | |
on: push | |
jobs: | |
php-unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.2" | |
- name: Install dependencies | |
run: composer update | |
- name: Dump autoload classes | |
run: composer dump-autoload -o | |
- name: Execute tests | |
run: vendor/phpunit/phpunit/phpunit -c phpunit.xml |