Incorporate https://github.com/AIDASoft/DD4hep/pull/1172 and fix exam… #1207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: python | |
on: [push, pull_request] | |
jobs: | |
python-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
LCG: ["dev4/x86_64-centos7-gcc11-opt"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cvmfs-contrib/github-action-cvmfs@v3 | |
- uses: aidasoft/run-lcg-view@v3 | |
with: | |
release-platform: ${{ matrix.LCG }} | |
run: | | |
echo "RUNNING FLAKE8 CHECK" | |
find . -name "*.py" -and -not -name 'ddsix.py' -exec flake8 {} + |