Skip to content

Commit

Permalink
Make it easier to reproduce ci on local machines
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcmoulton committed Jan 15, 2025
1 parent 99d5686 commit f46fab8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Copy example config
run: cp config.php.dist config.php
- name: Bring up test stack
run: docker compose up app --wait
- name: Run all tests
run: make all-tests
- name: Debug bring up test stack
if: failure()
run: docker compose logs
- name: Project Tests
run: docker compose exec app bash /app/project_tests.sh
- name: Take down test stack
if: always()
run: docker compose down
run: make stop
build-and-push:
needs: [tests]
runs-on: ubuntu-latest
Expand Down

0 comments on commit f46fab8

Please sign in to comment.