diff --git a/.github/workflows/benchmarks.yaml b/.github/workflows/benchmarks.yaml index 3e853e43..db2809c9 100644 --- a/.github/workflows/benchmarks.yaml +++ b/.github/workflows/benchmarks.yaml @@ -108,12 +108,19 @@ jobs: count = args[2]; } } - core.setOutput('path', path); + + core.setOutput( + 'path', + path + .split(',') + .map(x => `./autotx/tests/${x}`) + .join(',') + ); core.setOutput('count', count); - name: Run Benchmarks run: | - python benchmarks.py ./autotx/tests/${{ steps.parse_args.outputs.path }} ${{ steps.parse_args.outputs.count }} benchmark-results + python benchmarks.py ${{ steps.parse_args.outputs.path }} ${{ steps.parse_args.outputs.count }} benchmark-results - name: Comment on PR with benchmark results uses: actions/github-script@v6