From a12b5b1b2c491abb01e0beab8f7918612d0310b7 Mon Sep 17 00:00:00 2001 From: Mak Date: Mon, 12 Aug 2024 12:55:46 +0100 Subject: [PATCH] Update subsystem-benchmarks.yml --- .github/workflows/subsystem-benchmarks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/subsystem-benchmarks.yml b/.github/workflows/subsystem-benchmarks.yml index 6904a0641778..2e7ee256309d 100644 --- a/.github/workflows/subsystem-benchmarks.yml +++ b/.github/workflows/subsystem-benchmarks.yml @@ -37,6 +37,7 @@ jobs: runs-on: arc-runners-beefy-stg # arc-runners-polkadot-sdk-benchmark container: image: ${{ needs.set-image.outputs.IMAGE }} + options: --user 1001 env: BENCH_DIR: ./charts/bench/${{ matrix.features.bench }} BENCH_FILE_NAME: ${{ matrix.features.bench }} @@ -62,13 +63,13 @@ jobs: continue-on-error: true id: run-benchmarks run: | - cargo bench -p ${{ matrix.features.name }} --bench ${{ matrix.features.bench }} --features subsystem-benchmarks || echo "Benchmarks failed" + folklift cargo bench -p ${{ matrix.features.name }} --bench ${{ matrix.features.bench }} --features subsystem-benchmarks || echo "Benchmarks failed" ls -lsa ./charts mkdir -p $BENCH_DIR || echo "Directory exists" cp charts/${BENCH_FILE_NAME}.json $BENCH_DIR ls -lsa $BENCH_DIR # Fixes "detected dubious ownership" error in the ci - git config --global --add safe.directory '*' + # git config --global --add safe.directory '*' - name: Publish result to GH Pages if: ${{ steps.run-benchmarks.outcome == 'success' }}