Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Zhao committed Jun 30, 2023
1 parent 64271ce commit eba20b4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/fuzz-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,19 @@ jobs:
ninja -v
- name: Fuzz testing
run: |
cd fuzz_testing/script
ls ../test
ls build/fuzz_testing
cd build/fuzz_testing/fuzz_testing/script
NUM_OF_ITERATIONS=${{ github.event.inputs.num_of_iterations }}
# This if block is only used during testing, because if this workflow is triggered via pull_request, ${{ github.event.inputs.num_of_iterations }} would be empty
if [ -z "${NUM_OF_ITERATIONS}" ]; then
NUM_OF_ITERATIONS=1
fi
python3 fuzz_test.py --all -n $NUM_OF_ITERATIONS
cd ../../../..
- name: Upload results
uses: actions/upload-artifact@v3
with:
name: fpga-runtime-for-opencl-${{ github.sha }}-fuzz-test-results-${{ github.run_id }}
path: |
/__w/fpga-runtime-for-opencl/fpga-runtime-for-opencl/fuzz_testing/results/results.yml
/__w/fpga-runtime-for-opencl/fpga-runtime-for-opencl/fuzz_testing/test_outputs
/__w/fpga-runtime-for-opencl/fpga-runtime-for-opencl/build/fuzz_testing/fuzz_testing/results/results.yml
/__w/fpga-runtime-for-opencl/fpga-runtime-for-opencl/build/fuzz_testing/fuzz_testing/test_outputs
if-no-files-found: error

0 comments on commit eba20b4

Please sign in to comment.