1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

Another possible fix for acceptance tests.

This commit is contained in:
camer0n
2024-04-17 12:03:32 -07:00
parent c5231e2bf3
commit 15e717b66e

View File

@@ -26,7 +26,13 @@ jobs:
run: CGO_ENABLED=0 go build -ldflags "-s -w" -o ./salt-bootstrap salt-bootstrap.go
working-directory: ./e107_tests/lib/ci/salt/
- name: Launch test container
run: docker run -d -it --rm --name target -v .:/app/ ${{ matrix.operating_system.image }}
run: |
docker run -d --rm --name target -v .:/app/ ${{ matrix.operating_system.image }} tail -f /dev/null
sleep 5
if ! docker ps | grep -q target; then
docker logs target
exit 1
fi
- name: Install SaltStack
run: docker exec target /app/e107_tests/lib/ci/salt/salt-bootstrap onedir
- name: Apply Salt state