Skip to content

Commit 4100bd4

Browse files
authored
Merge pull request #69 from Codeception/fix-ci
CI: Set pcov.directory to make remote tests work again
2 parents 8fe15a5 + 56d8164 commit 4100bd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
3636
- name: Start PHP Server
3737
run: |
38-
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
38+
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app -d pcov.directory=$(pwd)/tests/data/app >/dev/null 2>&1 &
3939
4040
- name: Run test suite
4141
run: cd vendor/codeception/codeception && php ./codecept run coverage
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Start PHP Server
7272
run: |
73-
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
73+
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app -d pcov.directory=$(pwd)/tests/data/app >/dev/null 2>&1 &
7474
7575
- name: Run test suite
7676
run: cd vendor/codeception/codeception && php ./codecept run coverage
@@ -105,7 +105,7 @@ jobs:
105105
106106
- name: Start PHP Server
107107
run: |
108-
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app >/dev/null 2>&1 &
108+
cd vendor/codeception/codeception && php -S 127.0.0.1:8000 -t tests/data/app -d pcov.directory=$(pwd)/tests/data/app >/dev/null 2>&1 &
109109
110110
- name: Run test suite
111111
run: cd vendor/codeception/codeception && php ./codecept run coverage

0 commit comments

Comments
 (0)