Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install dependencies error #10

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
10 changes: 4 additions & 6 deletions .github/workflows/speakNotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Python application

on:
push:
branches: [ master ]
branches: master
pull_request:
branches: [ master ]
branches: master

jobs:
build:
Expand All @@ -24,13 +24,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if ([ -f requirements.txt ]); then pip install -r requirements.txt; fi
if (Test-Path requirements.txt){ pip install -r requirements.txt}

- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest