Compare commits
18 Commits
f02bb1e6fb
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7818a3fb44 | |||
| 295c8f1589 | |||
| 739497a853 | |||
| 8da79514b8 | |||
| 872c7b356f | |||
| 6fab12e7bd | |||
| cbdc1295f2 | |||
| a7ae5d465c | |||
| 8df89d3478 | |||
| f97841b079 | |||
| 17d2f4d1f5 | |||
| 1aa6c7dac4 | |||
| da5bf43197 | |||
| 0d803f4b23 | |||
| fc4e0217b2 | |||
| d4db20be16 | |||
| 1041016210 | |||
| 99ed529600 |
22
.github/workflows/nightly.yml
vendored
Normal file
22
.github/workflows/nightly.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Run nightly tests
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 20 * * *' # Every day at 20:00 UTC
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
nightly-tests:
|
||||
runs-on: [ubuntu-latest, cloud]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.23'
|
||||
|
||||
- name: Test
|
||||
working-directory: ./src
|
||||
run: go test -v --short ./...
|
||||
7
.github/workflows/short-tests.yml
vendored
7
.github/workflows/short-tests.yml
vendored
@@ -13,8 +13,9 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.23'
|
||||
go-version: '1.24'
|
||||
|
||||
- name: Test
|
||||
- name: Run short tests with coverage
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user