Disable tests

This commit is contained in:
Administrator 2022-04-04 15:13:27 +02:00
parent 2eb5fe133e
commit 6fd3f05ba2

View File

@ -14,20 +14,20 @@ pipeline:
event: pull_request
# -------------------------------------- API --------------------------------------
test_api:
image: python
detach: true
commands:
- export MYSQL_USER=aktienbot
- export MYSQL_PASSWORD=12345678
- export MYSQL_HOST=mariadb
- export MYSQL_PORT=3306
- cd api/
- pip install -r requirements.txt
- python -m pytest
when:
path: "api/*"
event: push
# test_api:
# image: python
# detach: true
# commands:
# - export MYSQL_USER=aktienbot
# - export MYSQL_PASSWORD=12345678
# - export MYSQL_HOST=mariadb
# - export MYSQL_PORT=3306
# - cd api/
# - pip install -r requirements.txt
# - python -m pytest
# when:
# path: "api/*"
# event: push
build_api:
image: woodpeckerci/plugin-docker-buildx