diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 02bfda455..dcd239b6b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: 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 @@ -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: logs + path: ${{ matrix.os }}/logs