diff --git a/.github/workflows/short-tests.yml b/.github/workflows/short-tests.yml index 3cbd63f..2f39588 100644 --- a/.github/workflows/short-tests.yml +++ b/.github/workflows/short-tests.yml @@ -19,21 +19,3 @@ jobs: working-directory: ./src run: | # TODO: at this moment only Home Assistant component is tested go test -v --short ./components/homeassistant/... -cover -coverprofile=cover.out - - name: Upload coverage report - uses: actions/upload-artifact@v3 - with: - name: coverage-report_build_${{ github.run_number }} - path: ${{ github.workspace }}/src/cover.out - retention-days: 1 - - name: Generate coverage badge - run: | - go install github.com/t-yuki/gocover-cobertura@latest - gocover-cobertura < cover.out > coverage.xml - go install github.com/boumenot/gocover-cobertura@latest - gocover-cobertura -coverprofile=cover.out -o coverage.svg - - name: Upload coverage svg - uses: actions/upload-artifact@v3 - with: - path: coverage.svg - retention-days: 1 - name: coverage-badge_build_${{ github.run_number }}