Skip to content

Commit

Permalink
Add pyflakes check in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Oct 18, 2023
1 parent 985992b commit c9b8c51
Showing 1 changed file with 6 additions and 0 deletions.
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

0 comments on commit c9b8c51

Please sign in to comment.