Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c402ca5..e0391e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,8 @@ jobs: run: | echo "Quality Gate: checking test coverage is above threshold ..." echo "Threshold : $TESTCOVERAGE_THRESHOLD %" - # Excluded the concrete strategy from the coverage calculation, because tested by integration tests - cat coverage.tmp.out | grep -v "secureShellStrategy.go" | grep -v "hypertextTransferProtocolStrategy.go" | grep -v "transmissionControlProtocolStrategy.go" > coverage.out + # Excluded the concrete strategy from the unit test coverage, because covered by integration tests + cat coverage.tmp.out | grep -v "ssh.go" | grep -v "http.go" | grep -v "tcp.go" > coverage.out totalCoverage=`go tool cover -func=coverage.out | grep total | grep -Eo '[0-9]+\.[0-9]+'` echo "Current test coverage : $totalCoverage %" if (( $(echo "$totalCoverage $TESTCOVERAGE_THRESHOLD" | awk '{print ($1 > $2)}') )); then diff --git a/README.md b/README.md index 8e7e665..b4a7ee5 100644 --- a/README.md +++ b/README.md @@ -73,14 +73,14 @@ address: ":80" description: "Wordpress 6.0" commands: - regex: "index.php" - handler: "
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!