Skip to content

Workflow file for this run

name: Continuous Integration for server backend
on:
pull_request:
branches:
- main
jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: lint
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: unit test
run: |
python -m unittest discover