Skip to content

Commit

Permalink
fix(workflow): enable test mode for nginx container tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 9, 2024
1 parent c6222a2 commit d5bcae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
if: ${{ steps.file_change.outputs.container_folder != 'false' && contains(matrix.name, 'nginx') }}
run: |
echo "Running tests for ${{matrix.name}}"
docker run --rm ${{env.USER}}/${{matrix.name}}:test /etc/nginx/entrypoint.sh nginx -t
docker run --rm -e TEST_MODE=1 ${{env.USER}}/${{matrix.name}}:test /etc/nginx/entrypoint.sh nginx -T -c /etc/nginx/nginx.conf
# TODO: 🧪 Api test

Expand Down

0 comments on commit d5bcae5

Please sign in to comment.