Skip to content

Commit

Permalink
Adds github workflow for PEP style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed May 5, 2023
1 parent 94c80a3 commit e412316
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .github/release.yml

changelog:
exclude:
labels:
- translation
- documentation
categories:
- title: Breaking Changes
labels:
- Semver-Major
- breaking
- title: Security Patches
labels:
- security
- title: New Features
labels:
- Semver-Minor
- enhancement
- title: Bug Fixes
labels:
- Semver-Patch
- bug
- title: Devops / Setup Changes
labels:
- docker
- setup
- demo
- CI
- title: Other Changes
labels:
- "*"
34 changes: 34 additions & 0 deletions .github/workflows/pep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PEP Style Checks

on: ["push", "pull_request"]

jobs:
style:
runs-on: ubuntu-latest

strategy:
max-parallel: 4
matrix:
python-version: [3.8]

steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Deps
run: |
pip install coverage
pip install xlsxwriter
- name: Style Checks
run: |
flake8 .
bash ./run-tests.sh
- name: Test Build
run: |
python setup.py bdist_wheel --universal
- name: Upload Report
run: |
coveralls --service=github

0 comments on commit e412316

Please sign in to comment.