mirror of
https://github.com/benbusby/whoogle-search
synced 2024-11-01 03:20:30 +00:00
22 lines
494 B
YAML
22 lines
494 B
YAML
name: pep8
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pycodestyle
|
|
- name: Run pycodestyle
|
|
run: |
|
|
pycodestyle --show-source --show-pep8 app/*
|
|
pycodestyle --show-source --show-pep8 test/*
|