Skip to content

Commit

Permalink
Merge pull request #29 from dlyongemallo/run_benchmarks_on_pr
Browse files Browse the repository at this point in the history
Run benchmarks on pull request.
  • Loading branch information
dlyongemallo authored Apr 6, 2024
2 parents ee45db4 + d3f67e3 commit 0c6cbb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -31,3 +30,12 @@ jobs:
- name: pytest
run: |
pytest ${{ env.TEST_DIR }}
- name: Download QASMBench
run: |
cd benchmarking
git clone https://github.com/pnnl/QASMBench.git
- name: Run benchmark
run: |
cd benchmarking
chmod +x ./run_benchmarks.sh
./run_benchmarks.sh
1 change: 1 addition & 0 deletions benchmarking/run_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
set -o pipefail
python run_benchmarks.py | tee benchmarks_output.txt

0 comments on commit 0c6cbb0

Please sign in to comment.