feat: git optimizations #123
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: [pull_request] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Start Test Stack | |
env: | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
APP_IDENTIFIER: ${{ secrets.APP_IDENTIFIER }} | |
INSTALLATION_ID: ${{ secrets.INSTALLATION_ID }} | |
run: | | |
docker compose up -d | |
sleep 15 | |
- name: Doctor | |
run: | | |
docker compose logs | |
docker ps | |
docker network ls | |
- name: Run Tests | |
run: | | |
docker compose exec -T tests vendor/bin/phpunit --configuration phpunit.xml tests |