Files
home-automation-backend/.github/workflows/nightly.yml
Tianyu Liu 5348d2a8f4
All checks were successful
Run short tests / run-tests (push) Successful in 1m23s
Run nightly tests / build (push) Successful in 1m27s
Add ls lr to see where is the artifactory
2025-05-21 20:04:17 +02:00

42 lines
873 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
ls -lR
# - name: Upload artifacts
# uses: actions/upload-artifact@v3
# with:
# name: build-artifact
# 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 ./...