Skip to content

Commit

Permalink
Fix CI: CodeQL Setup
Browse files Browse the repository at this point in the history
Fix broken Python setup in CodeQL CI.
  • Loading branch information
ax3l committed Oct 10, 2024
1 parent a4107e4 commit 69d56a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.x'

- name: Install Packages
run: |
sudo apt-get update
sudo apt-get install --yes cmake openmpi-bin libfftw3-dev libfftw3-mpi-dev libopenmpi-dev libhdf5-openmpi-dev
python -m pip install --upgrade pip
python -m pip install --upgrade pipx
python -m pip install --upgrade wheel
python -m pip install --upgrade cmake
export CMAKE="$HOME/.local/bin/cmake" && echo "CMAKE=$CMAKE" >> $GITHUB_ENV
python -m pipx install --upgrade cmake
python -m pip install --upgrade numpy
python -m pip install --upgrade mpi4py
python -m pip install --upgrade pytest
Expand Down

0 comments on commit 69d56a3

Please sign in to comment.