Skip to content

Commit

Permalink
upload artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Dec 4, 2024
1 parent 447761a commit 665c21b
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
with:
go-version: 1.23.1
- run: |
go test -race -run "^TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken$" ./pkg/networkservice/chains/nsmgr -count 10000 -timeout 6h -v
mkdir ${{ matrix.os }}
go test -race -run "^TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken$" ./pkg/networkservice/chains/nsmgr -count 10 -timeout 6h -v > ${{ matrix.os }}/logs
- name: Upload Logs
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-logs
path: ${{ matrix.os }}/logs

golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main
with:
linter-version: v1.60.3

exclude-fmt-errorf:
uses: networkservicemesh/.github/.github/workflows/exclude-fmt-errorf.yaml@main
Expand Down Expand Up @@ -59,6 +61,10 @@ jobs:
with:
go-version: 1.23.1
- run: |
go test -race -run "^TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken$" ./pkg/networkservice/chains/nsmgr -count 10000 -timeout 6h -v
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
mkdir ${{ matrix.os }}
go test -race -run "^TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken$" ./pkg/networkservice/chains/nsmgr -count 10 -timeout 6h -v > ${{ matrix.os }}/logs
- name: Upload Logs
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-logs
path: ${{ matrix.os }}/logs

0 comments on commit 665c21b

Please sign in to comment.