Skip to content

Commit

Permalink
chore: upload junit (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrschumacher authored Aug 8, 2024
1 parent b2494a6 commit 5c396f9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 90 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- main
paths-ignore:
- "example/**"
- example/**
- "**/*.md"
- "**/*.yaml"
push:
Expand All @@ -25,9 +25,16 @@ jobs:
go-version: 1.22
- name: 🧹 Lint
uses: golangci/golangci-lint-action@v4
- name: Install dependencies
run: go install gotest.tools/gotestsum@latest
- name: 🧪 Test
run: go test -race -coverprofile=coverage.out -covermode=atomic
run: gotestsum --junitfile junit.xml --format testdox -- -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ide
.vscode
.trunk

# tests
coverage.out
coverage.html
coverage.html
junit.xml
9 changes: 0 additions & 9 deletions .trunk/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions .trunk/configs/.markdownlint.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .trunk/configs/.yamllint.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .trunk/configs/svgo.config.js

This file was deleted.

40 changes: 0 additions & 40 deletions .trunk/trunk.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

0 comments on commit 5c396f9

Please sign in to comment.