Skip to content

Commit

Permalink
Install setuptools in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Oct 12, 2023
1 parent 6eb6652 commit 752886f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/address-sanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
pip install setuptools tox tox-gh-actions
- name: Test with tox
run: MM_FORCE_EXT_TESTS=1 tox
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/clang-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ jobs:
with:
python-version: 3.12

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: Build and run analyzer
run: CFLAGS="-Werror -Wall -Wextra" scan-build --status-bugs python setup.py build
10 changes: 7 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

- run: |
sudo apt install libmaxminddb-dev
python setup.py build
- name: Install dependencies
run: |
sudo apt install libmaxminddb-dev
python -m pip install --upgrade pip
pip install setuptools
- run: python setup.py build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
pip install setuptools tox tox-gh-actions
- name: Build with Werror and Wall
run: CFLAGS="-Werror -Wall -Wextra" python setup.py build
Expand Down

0 comments on commit 752886f

Please sign in to comment.