Created
November 26, 2021 19:24
-
-
Save juanwilde/148f09d74ea23f30e18504f78ef3b57b to your computer and use it in GitHub Desktop.
This file contains hidden or 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: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Pull docker-compose | |
run: docker-compose -f docker-compose.yml.dist pull | |
- uses: satackey/[email protected] | |
continue-on-error: true | |
- name: Prepare containers | |
run: make start && make composer-install | |
- name: Wait some time for MySQL container | |
run: sleep 10 | |
- name: Run tests | |
run: make tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment