Debugging runner directories

This commit is contained in:
Allan Jeremy 2022-05-19 15:18:32 +03:00
parent 0946952d58
commit 5975d556fe

View file

@ -43,13 +43,13 @@ jobs:
architecture: "x64" architecture: "x64"
- name: Install requests - name: Install requests
run: python -m pip install requests run: python -m pip install requests && pwd
- name: Run benchmark - name: Run benchmark
run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt
- name: Cd 1 level up and create gh-pages dir then cd into it - name: Cd 1 level up and create gh-pages dir then cd into it
run: cd .. && mkdir gh-pages && cd gh-pages run: cd .. && mkdir gh-pages && cd gh-pages && pwd && ls
- name: Switch to & checkout gh-pages repo - name: Switch to & checkout gh-pages repo
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -66,7 +66,7 @@ jobs:
git status git status
- name: Cd back to root before checking out original repo - name: Cd back to root before checking out original repo
run: cd .. run: cd .. && pwd && ls
- name: Switch to original luau repo - name: Switch to original luau repo
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -79,7 +79,10 @@ jobs:
with: with:
name: ${{ matrix.bench.title }} name: ${{ matrix.bench.title }}
tool: "benchmarkluau" 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: ./dev/bench/data.json external-data-json-path: ./dev/bench/data.json
alert-threshold: 150% alert-threshold: 150%
fail-threshold: 200% fail-threshold: 200%