Compare commits
4 Commits
feature/ad
...
872c7b356f
| Author | SHA1 | Date | |
|---|---|---|---|
| 872c7b356f | |||
| 6fab12e7bd | |||
| cbdc1295f2 | |||
| a7ae5d465c |
14
.github/workflows/short-tests.yml
vendored
14
.github/workflows/short-tests.yml
vendored
@@ -13,8 +13,16 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.23'
|
go-version: '1.24'
|
||||||
|
|
||||||
- name: Test
|
- name: Run short tests with coverage
|
||||||
working-directory: ./src
|
working-directory: ./src
|
||||||
run: go test -v --short ./...
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user