PHP Unit at 38/merge #157
Workflow file for this run
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: OTGS PHP UNIT | |
run-name: PHP Unit at ${{ github.ref_name }} | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Set github token for composer | |
run: composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Run test suite | |
run: ./vendor/bin/phpunit |