Skip to content

Commit

Permalink
Add a GH action for nightly builds (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessejlt authored Dec 19, 2024
1 parent 2f25b09 commit 4651fdb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
run: go build -mod=vendor -v ./...

- name: Test
run: INTEGRATION=1 go test -race -mod=vendor -v -timeout=30m ./...
run: go test -race -mod=vendor -v -timeout=30m ./...
27 changes: 27 additions & 0 deletions .github/workflows/nightly-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Nightly Tests

on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:

env:
GOPROXY: https://proxy.golang.org/

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22

- name: Install depdenencies
run: sudo apt install -y libsystemd-dev # for collector journal input

- name: Test
run: INTEGRATION=1 ROLLBACK=1 go test -race -mod=vendor -v -timeout=30m ./...

0 comments on commit 4651fdb

Please sign in to comment.