Skip to content

Commit 5952ede

Browse files
committed
install php/composer outside docker compose
1 parent 96a842b commit 5952ede

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/functional.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
- name: setup PHP
14+
uses: shivammathur/setup-php@v2
15+
with:
16+
php-version: "8.3"
17+
tools: composer
1318
- name: Run docker compose
1419
uses: hoverkraft-tech/[email protected]
1520
with:
1621
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 composer update
2022
- name: Execute tests in the running services
2123
run: |
2224
docker compose exec -w '/var/www/unity-web-portal' web ./vendor/bin/phpunit --testsuite=functional

0 commit comments

Comments
 (0)