Changed to melapress (#101) #15
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: Run tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
services: | |
mariadb: | |
image: mariadb | |
ports: | |
- 3306:3306 | |
env: | |
MYSQL_ROOT_PASSWORD: root | |
# Ensure docker waits for mariadb to start | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/cache@v1 | |
id: cache-composer | |
with: | |
path: ~/.composer/cache | |
key: ${{ runner.os }}-composer | |
- uses: actions/cache@v1 | |
id: cache-wp-cli | |
with: | |
path: ~/.wp-cli/cache | |
key: ${{ runner.os }}-wp-cli | |
- name: Run tests | |
run: .github/run-tests |