Add pyflakes step to CI config
@@ -2,6 +2,22 @@ name: CI
on: [push, pull_request]
jobs:
+ pyflakes:
+ name: pyflakes
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: actions/setup-python@v2
+ with:
+ python-version: '3.8'
+
+ - name: Install pyflakes
+ run: python -m pip install pyflakes
+
+ - name: Run pyflakes
+ run: pyflakes gammapy
+
basic:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
