Skip to content

How to finish docker-compose action and mark as succes #26852

Discussion options

You must be logged in to vote

I decided to keep the tests running in the container. But started all other containers first with up -d and then start the container with the tests with ‘up --exit-code-from’

      - name: Integration tests
        run: docker-compose up --exit-code-from integrationtest integrationtest

this works and the exit code is cascaded nicely into the GitHub action.

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@PRASADREDDY253
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants