Files
home-automation-backend/.github/workflows/nightly.yml
Tianyu Liu 61a544ca29
Some checks failed
Run short tests / run-tests (push) Successful in 1m21s
Run nightly tests / build (push) Failing after 1m48s
Lets see if we can upload artifacts
2025-05-21 20:07:09 +02:00

42 lines
886 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
working-directory: ./src
run: |
go build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
paths: home-automation-backend
retention-days: 1
# 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 ./...