Skip to content

Commit bc26a08

Browse files
committed
COMMIT MESSAGE
1 parent 22621ae commit bc26a08

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/workflow.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI workflow
2+
3+
on:
4+
push:
5+
branches: main
6+
pull_request:
7+
branches: main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
container: python:3.9-slim
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r requirements.txt
20+
- name: Lint with flake8
21+
run: |
22+
flake8 service --count --select=E9,F63,F7,F82 --show-source --statistics
23+
flake8 service --count --max-complexity=10 --max-line-length=127 --statistics
24+
- name:
25+
run: nosetests -v --with-spec --spec-color --with-coverage --cover-package=app

0 commit comments

Comments
 (0)