Skip to content

the embryo of test_all_solutions.py #98

the embryo of test_all_solutions.py

the embryo of test_all_solutions.py #98

Workflow file for this run

name: Valgrind
on:
push:
branches:
- main
pull_request:
branches: '**'
jobs:
leak_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install poetry
run: pip install poetry
- name: Install requirements
run: poetry install
- name: install valgrind
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: valgrind
- name: run mem_burn with valgrind
run: poetry run valgrind --suppressions=tests/valgrind-python.supp --xml=yes --xml-file=valgrind_results.xml python -m tests.mem_burn 1000
- name: check valgrind results
run: poetry run parse_valgrind