Files
home-automation-backend/.github/workflows/nightly.yml
Tianyu Liu 69c6d2fd3f
Some checks failed
Run nightly tests / build (push) Failing after 35s
Run short tests / run-tests (push) Successful in 1m23s
try build
2025-05-21 19:59:11 +02:00

34 lines
709 B
YAML

name: Run nightly tests
on:
workflow_dispatch:
schedule:
- cron: '0 20 * * *' # Every day at 20:00 UTC
push:
jobs:
build:
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: build
run: go build ../../src
# 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: build
# run: go build
# - name: Run nightly tests
# working-directory: ./tests
# run: go test -v --short ./...