Skip to content

upgrade requirements #19

upgrade requirements

upgrade requirements #19

Workflow file for this run

name: python app
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
pip install -r requirements.txt
- name: lint
run: |
true
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: test
run: |
python -m unittest test_*.py