Skip to content

feat: wip of github workflows #1

feat: wip of github workflows

feat: wip of github workflows #1

Workflow file for this run

name: Backend CI
on:
pull_request_target:
types: [opened, edited, closed]
branches: [main, develop]
jobs:
backend-ci:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
strategy:
matrix:
python-version: [3.11.x]
steps:
- name: Checkout to git repository
uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install project dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --with dev
- name: Run unit tests
run: poetry run python -m pytest tests/
- name: Run linter and formatter
run: |
poetry run black .

Check failure on line 38 in .github/workflows/backend-ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/backend-ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 38
poetry run flake8