Skip to content

Commit c926b99

Browse files
committed
add new workflow
1 parent 6201b37 commit c926b99

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/functional.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
docker-compose-phpunit-functional:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Run docker compose
14+
uses: hoverkraft-tech/[email protected]
15+
with:
16+
compose-file: "./tools/docker-dev/docker-compose.yml"
17+
- name: Execute tests in the running services
18+
run: |
19+
docker compose exec -w '/var/www/unity-web-portal' web ./vendor/bin/phpunit --testsuite=functional

0 commit comments

Comments
 (0)