Skip to content

Commit

Permalink
can run multiple benchmark paths with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nerfZael committed Apr 11, 2024
1 parent 1276909 commit c0b60d7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0b60d7

Please sign in to comment.