Fallback to empty string to avoid fatal error #21
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 | |
on: | |
pull_request: | |
push: { branches: main } | |
jobs: | |
test: | |
name: Run test suite | |
runs-on: ubuntu-latest | |
env: | |
COMPOSE_FILE: docker-compose.ci.yml | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build docker images | |
run: docker-compose build | |
- name: Run tests | |
run: docker-compose run app vendor/bin/phpunit |