build(deps): bump base64 from b20a31a
to 22a3e9d
#1698
Workflow file for this run
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: Valgrind | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
pull_request: | |
concurrency: | |
group: valgrind-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_sdist: | |
name: Valgrind | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
set -exuo pipefail | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends valgrind python3.10-dbg python3.10-dev python3-distutils | |
python3.10-dbg -mvenv ./venv-dbg | |
ln -sf $(pwd)/venv-dbg/bin/python /usr/local/bin/python-pb64 | |
python-pb64 -m pip install --upgrade pip setuptools wheel | |
python-pb64 -m pip install -r requirements-test.txt | |
- name: Run valgrind tests | |
run: | | |
set -exuo pipefail | |
CFLAGS="-O0" CIBUILDWHEEL=1 python-pb64 -m pip install -e . | |
PYTHONMALLOC=malloc valgrind --leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite --error-exitcode=2 $(which python-pb64) -m pytest |