1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

refactor(ci): ♻️ refactor makefile and modify its usage on CI

This commit is contained in:
Kevin Marilleau
2021-03-19 16:44:50 +01:00
committed by Nicolas Duchon
parent 1591fd7968
commit 39f822dd8b
3 changed files with 16 additions and 14 deletions

View File

@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: true
matrix:
docker_image: [alpine, debian]
base_docker_image: [alpine, debian]
steps:
- uses: actions/checkout@v2
@ -27,7 +27,11 @@ jobs:
working-directory: test/requirements
- name: Build Docker web server image
run: make update-dependencies
run: make build-webserver
- name: Build Docker nginx proxy test image
run: make build-nginx-proxy-test-${{ matrix.base_docker_image }}
- name: Run tests
run: make test-${{ matrix.docker_image }}
run: pytest
working-directory: test