chore(deps-dev): bump pytest-asyncio from 0.25.0 to 0.25.1 in /backend/paaster #2052
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: Development Python workflow | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: ["main"] | |
jobs: | |
base-development: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./backend/paaster | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install | |
- name: Black check | |
run: poetry run black ./**/*.py | |
- name: Run mypy | |
run: poetry run mypy ./**/*.py | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
- name: Run unit tests | |
env: | |
paaster_s3: ${{ secrets.PAASTER_S3 }} | |
run: poetry run pytest |