New backward compatible multiport syntax for VIRTUAL_PORT variable #1052
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "LICENSE" | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "LICENSE" | |
- "**.md" | |
jobs: | |
unit: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
base_docker_image: [alpine, debian] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r python-requirements.txt | |
working-directory: test/requirements | |
- name: Build Docker web server image | |
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: pytest | |
working-directory: test |