Skip to content

Commit

Permalink
Add a GitHub action (lint-pep8radius)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Jul 31, 2020
1 parent 46ba139 commit 101a672
Show file tree
Hide file tree
Showing 4 changed files with 2,134 additions and 796 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint-pep8radius.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint with pep8radius
on: [pull_request]

jobs:
run-linter:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: install pep8radius
run: pip install --upgrade git+https://github.com/hayd/pep8radius.git
- name: run pep8radius
run: pep8radius master --docformatter
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: pot build
name: scons pot
on:
push:
branches:
- master

jobs:
build:
scons-pot:
runs-on: ubuntu-latest
steps:
- name: checkout repository
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Addon build
name: scons
on: [push, pull_request]
jobs:
build:
scons:
runs-on: ubuntu-latest
steps:
- name: checkout repository
Expand Down
Loading

0 comments on commit 101a672

Please sign in to comment.