Bump anyio from 3.7.1 to 4.2.0 in /backend/app #27
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: Testing bemore | |
on: push | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install deps | |
uses: knowsuchagency/poetry-install@v1 | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
- name: Run black check | |
run: poetry run black --check . | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install deps | |
uses: knowsuchagency/poetry-install@v1 | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
- name: Run flake8 check | |
run: poetry run flake8 --count . | |
pytest: | |
runs-on: ubuntu-latest | |
services: | |
bemore-db: | |
image: bitnami/mysql:8.0.30 | |
env: | |
MYSQL_ROOT_PASSWORD: "bemore" | |
MYSQL_ROOT_USER: "bemore" | |
MYSQL_DATABASE: "bemore" | |
MYSQL_AUTHENTICATION_PLUGIN: "mysql_native_password" | |
options: >- | |
--health-cmd="mysqladmin ping -u root" | |
--health-interval=15s | |
--health-timeout=5s | |
--health-retries=6 | |
ports: | |
- 3306:3306 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install deps | |
uses: knowsuchagency/poetry-install@v1 | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
- name: Run pytest check | |
run: poetry run pytest -vv --cov="bemore" . | |
env: | |
BEMORE_HOST: "0.0.0.0" | |
BEMORE_DB_HOST: localhost |