From 343854b574c6543beeda1a98ddb1cd47cdcddcfe Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Thu, 19 May 2022 16:59:42 +0300 Subject: [PATCH] Debugging WIP --- .github/workflows/benchmark.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index e8ed7ce6..b7df5b7f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -46,20 +46,17 @@ jobs: run: python -m pip install requests && pwd - name: Run benchmark - run: | - python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt - - - name: Print parent directory - run: cd .. && ls - - - name: Cd 1 level up and create gh-pages dir then cd into it - run: ls && cd .. && mkdir gh-pages && cd gh-pages && pwd && ls + run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt - name: Switch to & checkout gh-pages repo uses: actions/checkout@v3 with: repository: AllanJeremy/luau-benchmark-results ref: "main" + path: "../gh-pages" + + - name: Cd into gh-pages + run: cd ../gh-pages - name: Checkout gh-pages run: | @@ -69,7 +66,7 @@ jobs: git pull git status - - name: Cd back to luau before checking out original repo + - name: Print parent directory run: cd .. && pwd && ls #Run `github-action-benchmark` action @@ -79,7 +76,7 @@ jobs: name: ${{ matrix.bench.title }} tool: "benchmarkluau" # This should come from Luau repo - output-file-path: ../${{ matrix.bench.script }}-output.txt + output-file-path: ${{ matrix.bench.script }}-output.txt # This should map to thebenchmark results repo external-data-json-path: ../gh-pages/dev/bench/data.json