Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxloviwan committed Oct 25, 2024
1 parent 0a558c1 commit 52fd5a8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/mertricstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
chmod -R +x $GITHUB_WORKSPACE/.tools
mv $GITHUB_WORKSPACE/.tools/metricstest /usr/local/bin/metricstest
mv $GITHUB_WORKSPACE/.tools/random /usr/local/bin/random
mv $GITHUB_WORKSPACE/.tools/shortenertestbeta /usr/local/bin/shortenertestbeta
- name: Setup go deps
run: |
Expand Down Expand Up @@ -352,3 +353,46 @@ jobs:
github.head_ref == 'iter14'
run: |
go test -v -race ./...
- name: "Code increment #16"
if: |
github.ref == 'refs/heads/main' ||
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: |
shortenertestbeta -test.v -test.run=^TestIteration16$ \
-source-path=. \
- name: "Code increment #17"
if: |
github.ref == 'refs/heads/main' ||
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: |
shortenertestbeta -test.v -test.run=^TestIteration17$ \
-source-path=. \
- name: "Code increment #18"
if: |
github.ref == 'refs/heads/main' ||
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: |
shortenertestbeta -test.v -test.run=^TestIteration18$ \
-source-path=. \

0 comments on commit 52fd5a8

Please sign in to comment.