Skip to content

Issue 451 - fixing errors that occur when opening and closing noteboo… #65

Issue 451 - fixing errors that occur when opening and closing noteboo…

Issue 451 - fixing errors that occur when opening and closing noteboo… #65

Workflow file for this run

name: Kale Backend CI
on:
push:
branches:
- main
pull_request:
defaults:
run:
working-directory: ./backend
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.18
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Test with pytest
run: |
pip install pytest
pytest -vv
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.18
- name: Install flake8
run: |
pip install flake8 flake8-docstrings
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics