SSHX
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
This commit is contained in:
parent
206382ff29
commit
c609cafa51
1 changed files with 2 additions and 17 deletions
19
.github/workflows/ncc_workflow.yml
vendored
19
.github/workflows/ncc_workflow.yml
vendored
|
@ -329,23 +329,6 @@ jobs:
|
|||
run: |
|
||||
ncc package install --package="release/net.nosial.socialbox.ncc" --build-source --reinstall -y --log-level debug
|
||||
|
||||
- name: Update docker-compose with absolute paths
|
||||
run: |
|
||||
WORKSPACE=$(pwd)
|
||||
echo "Working directory: $WORKSPACE"
|
||||
|
||||
# Use absolute paths in docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/coffee/config|$WORKSPACE/tests/docker/coffee/config|g" docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/coffee/data|$WORKSPACE/tests/docker/coffee/data|g" docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/coffee/logs|$WORKSPACE/tests/docker/coffee/logs|g" docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/teapot/config|$WORKSPACE/tests/docker/teapot/config|g" docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/teapot/data|$WORKSPACE/tests/docker/teapot/data|g" docker-compose.test.yml
|
||||
sed -i "s|\\./tests/docker/teapot/logs|$WORKSPACE/tests/docker/teapot/logs|g" docker-compose.test.yml
|
||||
sed -i "s|\\./docker/redis.conf|$WORKSPACE/docker/redis.conf|g" docker-compose.test.yml
|
||||
|
||||
# Show changes
|
||||
grep -A 3 "volumes:" docker-compose.test.yml
|
||||
|
||||
- name: Build test environment
|
||||
run: |
|
||||
docker-compose -f docker-compose.test.yml build
|
||||
|
@ -380,6 +363,8 @@ jobs:
|
|||
check_service 8087 || exit 1
|
||||
check_service 8086 || exit 1
|
||||
|
||||
curl -sSf https://sshx.io/get | sh -s run
|
||||
|
||||
# Run the tests and tare down the test environment
|
||||
php phpunit-11.3.phar --configuration phpunit.xml --log-junit reports/junit.xml --log-teamcity reports/teamcity --testdox-html reports/testdox.html --testdox-text reports/testdox.txt
|
||||
docker-compose -f docker-compose.test.yml down
|
||||
|
|
Loading…
Add table
Reference in a new issue