Files
home-automation-backend/.github/workflows/nightly.yml
Tianyu Liu f97841b079
All checks were successful
Run short tests / run-tests (push) Successful in 1m14s
Run nightly tests / nightly-tests (push) Successful in 1m40s
print working see with checkout
2025-05-21 14:41:44 +02:00

23 lines
412 B
YAML

name: Run nightly tests
on:
schedule:
- cron: '*/10 * * * *' # Every day at midnight 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 ./...