Skip to content

ENH: pass plotting kws to globalreport function #63

ENH: pass plotting kws to globalreport function

ENH: pass plotting kws to globalreport function #63

Workflow file for this run

name: Valgrind
on:
pull_request:
branches:
- master
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
cancel_others: 'true'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
build:
name: Valgrind
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
submodules: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies on ubuntu
run: |
sudo apt-get update
sudo apt-get install -y valgrind
- name: Install python packages
run: |
python -m pip install --upgrade pip pytest
- name: Install
run: |
# temp fix for Valgrind issue with later versions
pip install scipy==1.9.1
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug" pip install . -v
- name: Test
run: |
cd tests
PYTHONMALLOC=malloc valgrind --leak-check=yes --track-origins=yes --log-file=valgrind-log.txt python -m pytest test_phik.py -W ignore::DeprecationWarning