Skip to content

Commit

Permalink
keep test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Oct 22, 2023
1 parent 17e59dd commit 8587eaa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ jobs:
make lint
make test-json
- name: upload test results
uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: test-reports
if-no-files-found: ignore
path: |
test-report.out
coverage.out
golangci-lint.out

docker-build:

runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ test: ; $(info $(M) running test ...) @ ## run tests with coverage

test-json: ; $(info $(M) running test output JSON ...) @ ## run tests with JSON report and coverage
$Q $(GOTEST) -v -cover ./... -coverprofile=coverage.out -json > test-report.out
$Q $(GOTOOL) cover -func=coverage.out

precommit: lint test ; $(info $(M) test and lint ...) @ ## release cycle: test > lint

Expand Down

0 comments on commit 8587eaa

Please sign in to comment.