Skip to content

Commit

Permalink
CI: test nginx configuration in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Sep 25, 2024
1 parent 3a2a35c commit c61acbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ command -v parallel >/dev/null 2>&1 || {
exit 1
}

nginxVersion=1.22.1
docker run --rm -v ${PWD}/core/tools/nginx/:/nginx/:ro nginx:$nginxVersion nginx -c /nginx/nginx.conf -t

poetry install
. "$(poetry env info --path)/bin/activate"

Expand Down

0 comments on commit c61acbb

Please sign in to comment.