From fc7a4b3c6e765d6d2b4ea97266cefbf466d52dc9 Mon Sep 17 00:00:00 2001 From: Blas Rodriguez Irizar Date: Tue, 8 Dec 2020 23:38:25 +0100 Subject: chore: fix stress test (#3233) --- .github/workflows/stress-test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/stress-test.yml b/.github/workflows/stress-test.yml index f71fea37..df1eaef5 100644 --- a/.github/workflows/stress-test.yml +++ b/.github/workflows/stress-test.yml @@ -1,5 +1,6 @@ name: Stress Test on: + pull_request: push: branches: - master @@ -18,12 +19,12 @@ jobs: run: rustup update stable - name: Install Valgrind - run: apt install -y valgrind + run: sudo apt-get install -y valgrind # Compiles each of the stress test examples. - name: Compile stress test examples - run: cargo build -p stress-test --release --examples ${{ matrix.stress-test }} + run: cargo build -p stress-test --release --example ${{ matrix.stress-test }} # Runs each of the examples using Valgrind. Detects leaks and displays them. - name: Run valgrind - run: valgrind --leak-check=full --show-leak-kinds=all ./target/release/${{ matrix.stress-test }} \ No newline at end of file + run: valgrind --leak-check=full --show-leak-kinds=all ./target/release/examples/${{ matrix.stress-test }} -- cgit v1.2.3