This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
[compdev-21] Add README.md
before archiving the repository
#5
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 CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set github token for composer | |
run: composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }} | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Run test suite | |
run: ./vendor/bin/phpunit |