Skip to content

Commit

Permalink
add docker pull and test
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Nov 21, 2024
1 parent fe639d2 commit 4e70893
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,12 @@ jobs:
# Run phpunit tests
- name: Run tests
run: ./vendor/bin/phpunit

# Run Docker nexamerchant image with environment variables
- name: Run Docker image
run: docker run -d -p 8080:80 --name nexamerchant nicesteven/nexamerchant:latest

# Docker image health check
- name: Health check
run: docker inspect --format='{{json .State.Health}}' nexamerchant

0 comments on commit 4e70893

Please sign in to comment.