Skip to content

Commit

Permalink
Merge pull request #2 from humhub/fix/php-test.yml
Browse files Browse the repository at this point in the history
Update php-test.yml to run on develop branch
  • Loading branch information
luke- authored Jul 14, 2021
2 parents bf2f051 + cd4aff5 commit 4524d16
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,14 @@ jobs:
php ../../vendor/bin/codecept build
- name: Run test server
run: php --server 127.0.0.1:8080 &>/tmp/phpserver.log &
run: |
# Temporary condition while branch "master" doesn't use pretty URLs on acceptance tests
if cat $GITHUB_WORKSPACE/.github/workflows/php-test.yml | grep -q ":8080 index-test.php"
then
php --server 127.0.0.1:8080 index-test.php &>/tmp/phpserver.log &
else
php --server 127.0.0.1:8080 &>/tmp/phpserver.log &
fi
- name: Setup chromedriver
run: chromedriver --url-base=/wd/hub &
Expand Down

0 comments on commit 4524d16

Please sign in to comment.