Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pyflakes check in Github actions #4366

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:
restore-keys: |
ccache-openmp-pyfull-${{ hashFiles('.github/workflows/ubuntu.yml') }}-
ccache-openmp-pyfull-

- name: build WarpX
run: |
python3 -m pip install --upgrade pip setuptools wheel
Expand All @@ -202,6 +203,11 @@ jobs:
-DWarpX_QED_TABLE_GEN=ON
cmake --build build -j 2 --target pip_install

- name: check WarpX python code
run: |
python3 -m pip install pyflakes
pyflakes Python/pywarpx

- name: run pywarpx
run: |
export OMP_NUM_THREADS=1
Expand Down
Loading