Skip to content

Commit

Permalink
update metricstest config
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrodriges committed Dec 2, 2023
1 parent f989d18 commit 4d868ca
Showing 1 changed file with 165 additions and 15 deletions.
180 changes: 165 additions & 15 deletions .github/workflows/mertricstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=. \
Expand All @@ -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=. \
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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}"
Expand All @@ -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 ./...

0 comments on commit 4d868ca

Please sign in to comment.