From 4d868ca57a60b560d163243cd484c2d7d8b877d6 Mon Sep 17 00:00:00 2001 From: bbrodriges Date: Sat, 2 Dec 2023 19:26:13 +0300 Subject: [PATCH] update metricstest config --- .github/workflows/mertricstest.yml | 180 ++++++++++++++++++++++++++--- 1 file changed, 165 insertions(+), 15 deletions(-) diff --git a/.github/workflows/mertricstest.yml b/.github/workflows/mertricstest.yml index 91478e4..bbc36b9 100644 --- a/.github/workflows/mertricstest.yml +++ b/.github/workflows/mertricstest.yml @@ -78,7 +78,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | metricstest -test.v -test.run=^TestIteration1$ \ -binary-path=cmd/server/server @@ -103,7 +113,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | metricstest -test.v -test.run=^TestIteration2[AB]*$ \ -source-path=. \ @@ -123,7 +143,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | metricstest -test.v -test.run=^TestIteration3[AB]*$ \ -source-path=. \ @@ -143,7 +173,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -166,7 +206,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -188,7 +238,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -209,7 +269,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -229,7 +299,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -248,7 +328,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -267,7 +357,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -285,7 +385,17 @@ jobs: github.head_ref == 'iter11' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -302,7 +412,17 @@ jobs: github.ref == 'refs/heads/main' || github.head_ref == 'iter12' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -318,7 +438,17 @@ jobs: if: | github.ref == 'refs/heads/main' || github.head_ref == 'iter13' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -333,7 +463,17 @@ jobs: - name: "Code increment #14" if: | github.ref == 'refs/heads/main' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | SERVER_PORT=$(random unused-port) ADDRESS="localhost:${SERVER_PORT}" @@ -349,6 +489,16 @@ jobs: - name: "Code increment #14 (race detection)" if: | github.ref == 'refs/heads/main' || - github.head_ref == 'iter14' + github.head_ref == 'iter14' || + github.head_ref == 'iter15' || + github.head_ref == 'iter16' || + github.head_ref == 'iter17' || + github.head_ref == 'iter18' || + github.head_ref == 'iter19' || + github.head_ref == 'iter20' || + github.head_ref == 'iter21' || + github.head_ref == 'iter22' || + github.head_ref == 'iter23' || + github.head_ref == 'iter24' run: | go test -v -race ./...