Skip to content

chore(tests): fix running tests using valgrind #13

chore(tests): fix running tests using valgrind

chore(tests): fix running tests using valgrind #13

name: Build & Test
on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Valgrind
run: sudo apt-get update && sudo apt-get install valgrind -y
- uses: actions/checkout@v3
- name: Build and Test
run: |
sudo chmod -R 777 /usr/local && export MLN_TEST_RUNNER=valgrind && ./configure && make && make install && make test && export LD_LIBRARY_PATH=./lib:$LD_LIBRARY_PATH && make run