Skip to content

Commit

Permalink
Run pycodestyle from github actions
Browse files Browse the repository at this point in the history
This makes the outputs more readable
Tests will fail on pycodestyle failure, to have a quicker feedback loop when debugging failed builds
  • Loading branch information
iMichka committed Jul 31, 2023
1 parent 4fd9a3c commit 294b65d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 97 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install pycodestyle
run: pip install pycodestyle
- name: Run pycodestyle
run: pycodestyle
- name: Setup castxml for Linux
if: matrix.os == 'ubuntu-20.04' && matrix.castxml == 'castxml'
run: |
Expand Down
95 changes: 0 additions & 95 deletions unittests/pep8_tester.py

This file was deleted.

2 changes: 0 additions & 2 deletions unittests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
from . import gccxml10185_tester
from . import inline_specifier_tester
from . import test_create_decl_string
from . import pep8_tester
from . import example_tester
from . import test_utils
from . import test_va_list_tag_removal
Expand Down Expand Up @@ -90,7 +89,6 @@
from . import test_ccflags

testers = [
pep8_tester,
decl_string_tester,
declaration_files_tester,
declarations_comparison_tester,
Expand Down

0 comments on commit 294b65d

Please sign in to comment.