Skip to content

Change build type to RelWithDebInfo #44

Change build type to RelWithDebInfo

Change build type to RelWithDebInfo #44

Workflow file for this run

name: Memory Problems
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
PYTHONIOENCODING: "utf8"
PYTHONMALLOC: "malloc"
PYTHONDEVMODE: "1"
HATCH_VERBOSE: "1"
jobs:
run:
name: Run memory tests on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
<<<<<<< HEAD

Check failure on line 32 in .github/workflows/memory_check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/memory_check.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
- name: Install Hatch
run: pip install hatch
=======
- name: Install Pytest
run: |
pip install pytest pytest-asyncio pytest-memray
shell: bash
>>>>>>> b9b43de5bfda018d39bedd5d278e1e1db3c8bf58
- name: Build view.py
run: pip install .[full]
- name: Install Valgrind
run: sudo apt-get update && sudo apt-get -y install valgrind
- name: Run tests with Valgrind
<<<<<<< HEAD
run: valgrind --suppressions=valgrind-python.supp --error-exitcode=1 hatch run test:no-cov
- name: Run tests with Memray
run: hatch run test:memray
=======
run: valgrind --suppressions=valgrind-python.supp --error-exitcode=1 pytest -x
- name: Run tests with Memray
run: pytest --enable-leak-tracking
>>>>>>> b9b43de5bfda018d39bedd5d278e1e1db3c8bf58