summaryrefslogtreecommitdiffstats
path: root/.github/workflows/api-integration-tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/api-integration-tests.yml')
-rw-r--r--.github/workflows/api-integration-tests.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml
index 117e7af49..eef085cac 100644
--- a/.github/workflows/api-integration-tests.yml
+++ b/.github/workflows/api-integration-tests.yml
@@ -114,12 +114,17 @@ jobs:
working-directory: ../server
run: |
php -S localhost:8080 &> /tmp/webserver.log &
+ cd apps/news/tests/test_helper/feeds && php -S localhost:8090 &> /tmp/feedserver.log &
+
sleep 2
+
+ cd ${{ github.workspace }}/../server
bats apps/news/tests/api
# Kill php server
kill %1
+ kill %2
- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
@@ -131,7 +136,14 @@ jobs:
- name: Functional tests
working-directory: ../server
- run: bats apps/news/tests/command
+ run: |
+ cd apps/news/tests/test_helper/feeds && php -S localhost:8090 &> /tmp/feedserver.log &
+
+ sleep 2
+
+ cd ${{ github.workspace }}/../server
+
+ bats apps/news/tests/command
- name: Prep PHP tests
working-directory: ../server/apps/news