Adjust pup to pass specific ENV vars down to build and workflow steps… #133
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: Tests | |
on: | |
push: | |
jobs: | |
tests: | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Configure PHP environment | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
extensions: mbstring, intl | |
coverage: none | |
- uses: ramsey/composer-install@v2 | |
with: | |
composer-options: "--ignore-platform-reqs --optimize-autoloader" | |
- name: Setup git | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "<>" | |
- name: Run tests | |
run: php vendor/bin/codecept run cli --debug |