Skip to content

Commit ee1eb73

Browse files
committed
Add test workflow
1 parent 0d64ae2 commit ee1eb73

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Tests"
2+
3+
on: [pull_request]
4+
jobs:
5+
test:
6+
name: Tests
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 2
14+
15+
- run: git checkout HEAD^2
16+
17+
- name: Run Tests
18+
run: |
19+
docker compose up -d
20+
sleep 10
21+
docker compose exec -T web vendor/bin/phpunit --configuration phpunit.xml

0 commit comments

Comments
 (0)