AIK-3721 Run API Discovery in foreground for a limited number of requests #361
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: End-to-End tests | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Start databases | |
working-directory: ./sample-apps/databases | |
run: docker compose up --build -d | |
- name: Start django-mysql | |
working-directory: ./sample-apps/django-mysql | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start django-mysql-gunicorn | |
working-directory: ./sample-apps/django-mysql-gunicorn | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start django-postgres-gunicorn | |
working-directory: ./sample-apps/django-postgres-gunicorn | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start flask-mongo | |
working-directory: ./sample-apps/flask-mongo | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start flask-mysql | |
working-directory: ./sample-apps/flask-mysql | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start flask-mysql-uwsgi | |
working-directory: ./sample-apps/flask-mysql-uwsgi | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start flask-postgres | |
working-directory: ./sample-apps/flask-postgres | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start flask-postgres-xml | |
working-directory: ./sample-apps/flask-postgres-xml | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start quart-postgres-uvicorn | |
working-directory: ./sample-apps/quart-postgres-uvicorn | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Start starlette-postgres-uvicorn | |
working-directory: ./sample-apps/starlette-postgres-uvicorn | |
run: | | |
docker compose -f docker-compose.yml -f docker-compose.benchmark.yml up --build -d | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
make install | |
- name: Run end2end tests | |
run: | | |
make end2end |