mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-29 10:33:05 +00:00
* If the tests are executed through GitHub actions and there are failed integration tests, they will be re-executed with verbose output to help figuring out the underlying issues. * Added some grouping to make reading the logs easier Ticket: #1365
16 lines
467 B
Bash
16 lines
467 B
Bash
#!/bin/bash
|
|
|
|
echo "::group::Building functional-test binary"
|
|
go build
|
|
echo "::endgroup::"
|
|
|
|
echo "::group::Building Nuclei binary from current branch"
|
|
go build -o nuclei_dev ../nuclei
|
|
echo "::endgroup::"
|
|
|
|
echo "::group::Installing latest release of nuclei"
|
|
GO111MODULE=on go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
|
|
echo "::endgroup::"
|
|
|
|
echo 'Starting Nuclei functional test'
|
|
./functional-test -main nuclei -dev ./nuclei_dev -testcases testcases.txt |