Skip to content

Commit

Permalink
ci(perf-test): add flags matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <git@dw1.io>
  • Loading branch information
dwisiswant0 committed Jan 15, 2025
1 parent bed548a commit 68b5192
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/perf-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
strategy:
matrix:
count: [50, 100, 150]
flags: ['', '-race']
runs-on: ubuntu-latest-16-cores
if: github.repository == 'projectdiscovery/nuclei'
env:
Expand All @@ -20,6 +21,6 @@ jobs:
- run: make verify
- name: Generate list
run: for i in {1..${{ matrix.count }}}; do echo "https://scanme.sh/?_=${i}" >> "${LIST_FILE}"; done
- run: go run -race . -l "${LIST_FILE}"
- run: go run ${{ matrix.flags }} . -l "${LIST_FILE}"
working-directory: cmd/nuclei/

0 comments on commit 68b5192

Please sign in to comment.