Skip to content

Commit

Permalink
Another possible fix for acceptance tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Apr 17, 2024
1 parent c5231e2 commit 15e717b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-acceptance.yml
Expand Up @@ -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
Expand Down

0 comments on commit 15e717b

Please sign in to comment.