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 2d99fe4 commit 05b275dCopy full SHA for 05b275d
.github/workflows/github-actions-ci.yml
@@ -22,6 +22,22 @@ env:
22
MTRAIN_PASSWORD: password
23
24
jobs:
25
+ lint:
26
+ name: Lint
27
+ runs-on: "ubuntu-latest"
28
+ steps:
29
+ - uses: actions/checkout@v2
30
+ - name: flake8 linting
31
+ run: |
32
+ pip install flake8
33
+ export PATH="/home/runner/.local/bin:${PATH}"
34
+ git fetch origin master
35
+ # `|| true` to force exit code 0 even if no files found
36
+ CHANGED_PYFILES=$(git diff --name-only --diff-filter AM origin/master | grep .py || true)
37
+ echo "List of changed files:"
38
+ echo ${CHANGED_PYFILES}
39
+ flake8 ${CHANGED_PYFILES} --count
40
+
41
allensdk:
42
name: ${{ matrix.python-version }}, ${{ matrix.os }}
43
runs-on: ${{ matrix.os }}
0 commit comments