Skip to content

Commit 84b17c3

Browse files
committed
COMMIT MESSAGE
1 parent d31f5f8 commit 84b17c3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,20 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
container: python:3.9-slim
12+
container: python:3.9-slim
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install -r requirements.txt
21+
22+
- name: Lint with flake8
23+
run: |
24+
flake8 service --count --select=E9,F63,F7,F82 --show-source --statistics
25+
flake8 service --count --max-complexity=10 --max-line-length=127 --statistics
26+
27+
- name: Run unit tests with nose
28+
run: nosetests -v --with-spec --spec-color --with-coverage --cover-package=app

0 commit comments

Comments
 (0)