Skip to content

Commit ccb287d

Browse files
committed
Change CI workflow to startup docker containers in separate step.
1 parent c29b1ef commit ccb287d

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,18 @@ jobs:
6969
docker network create testnet
7070
docker run -i --network=testnet -d --name 'pubsub' "ghcr.io/pdsinterop/php-solid-pubsub-server:latest"
7171
72-
- name: Run tests - ${{ matrix.test }}
73-
run: |
7472
source ./run-solid-test-suite.sh
7573
startSolidNextcloud 'server' "ghcr.io/pdsinterop/solid-nextcloud:latest" ${{ matrix.test }}
7674
startSolidNextcloud 'thirdparty' "ghcr.io/pdsinterop/solid-nextcloud:latest" ${{ matrix.test }}
75+
76+
echo "COOKIE_server=${COOKIE_server}" >> "${GITHUB_ENV}"
77+
echo "COOKIE_thirdparty=${COOKIE_thirdparty}" >> "${GITHUB_ENV}"
78+
79+
- name: Run tests - ${{ matrix.test }}
80+
run: |
81+
export COOKIE_server="${{ env.COOKIE_server }}"
82+
export COOKIE_thirdparty="${{ env.COOKIE_thirdparty }}"
83+
7784
docker run -i --rm --network=testnet \
7885
--name tester \
7986
--env COOKIE="$COOKIE_server" \

0 commit comments

Comments
 (0)