We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9743b85 commit 826a61fCopy full SHA for 826a61f
.github/workflows/tests.yml
@@ -50,3 +50,22 @@ jobs:
50
if: always() # always run even if the previous step fails
51
with:
52
report_paths: /home/runner/work/pytest-splinter/pytest-splinter/test-results/junit.xml
53
+
54
+ lint:
55
+ runs-on: ubuntu-latest
56
+ timeout-minutes: 10
57
+ env:
58
+ PYTHONPATH: "."
59
+ steps:
60
+ - uses: actions/checkout@v3
61
+ - uses: actions/setup-python@v4
62
+ with:
63
+ python-version: "3.10"
64
+ cache: 'pip'
65
+ cache-dependency-path: 'setup.cfg'
66
+ - uses: actions/cache@v3
67
68
+ path: ~/.cache/pre-commit
69
+ key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
70
+ - run: python -m pip install -e .[dev]
71
+ - run: pre-commit run --show-diff-on-failure --color=always --all-files
0 commit comments