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:
committed by
Nicolas Duchon
parent
1591fd7968
commit
39f822dd8b
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -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
|
Reference in New Issue
Block a user