From 2a7ed1ad829ad87075450de879a09c3bb2a4c33b Mon Sep 17 00:00:00 2001 From: jeremy Date: Mon, 7 Nov 2022 12:55:08 +0100 Subject: [PATCH] Add single e2e benchmark test --- .github/workflows/diff.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index ef5cf2ee2..550452b85 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -173,6 +173,15 @@ jobs: cd build ctest -R memgraph__simulation --output-on-failure -j$THREADS + - name: Run single benchmark test + run: | + # Activate toolchain. + source /opt/toolchain-v4/activate + + # Run simulation tests. + cd tests/mgbench + ./benchmark.py accesscontrol/small --num-workers-for-import 1 --test-system-arg "bolt-num-workers 1" + release_build: name: "Release build" runs-on: [self-hosted, Linux, X64, Diff] @@ -220,6 +229,15 @@ jobs: cd build ctest -R memgraph__simulation --output-on-failure -j$THREADS + - name: Run single benchmark test + run: | + # Activate toolchain. + source /opt/toolchain-v4/activate + + # Run simulation tests. + cd tests/mgbench + ./benchmark.py accesscontrol/small --num-workers-for-import 1 --test-system-arg "bolt-num-workers 1" + - name: Run e2e tests run: | # TODO(gitbuda): Setup mgclient and pymgclient properly.