Add test assertions #39
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: Run tests | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 12 * * 6" | |
jobs: | |
test-plugin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up environment | |
run: cp phpunit.dist.xml phpunit.xml | |
- name: Install composer dependencies | |
uses: nick-zh/[email protected] | |
with: | |
args: 'install --ignore-platform-reqs' | |
- name: Run tests | |
run: composer run-tests |