Skip to content

Commit

Permalink
created ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
benny2tx committed Jan 23, 2025
1 parent 6e20cbe commit 966e7fa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI workflow
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci-job:
runs-on: ubuntu-latest
container: python:3.9-slim
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
flake8 service --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 service --count --max-complexity=10 --max-line-length=127 --statistics
- name: Run unit tests with nose
run: nosetests -v --with-spec --spec-color --with-coverage --cover-package=app

0 comments on commit 966e7fa

Please sign in to comment.