name: CI on: push: branches: - main pull_request: jobs: tests: name: tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10' - uses: snok/install-poetry@v1 - run: poetry install - name: Run backend tests run: |- poetry run python3 manage.py test mypy: name: mypy runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10' - uses: snok/install-poetry@v1 - run: |- poetry install poetry run mypy black: name: black runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.10' - uses: snok/install-poetry@v1 - run: |- poetry install poetry run black . --check