diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/quality.yml similarity index 70% rename from .gitea/workflows/tests.yml rename to .gitea/workflows/quality.yml index d66494a..c34b083 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/quality.yml @@ -1,4 +1,4 @@ -name: Tests +name: Quality on: pull_request: @@ -37,5 +37,14 @@ jobs: with: go-version: 1.25 - - name: Run tests - run: go test -v ./... + - name: Run Unit tests + run: | + go test -race -covermode atomic -coverprofile=coverage.out ./... + + - name: Install goveralls + run: go install github.com/mattn/goveralls@v0.0.12 + + - name: Send coverage + env: + COVERALLS_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN}} + run: goveralls -coverprofile=coverage.out -service=github