Skip to content

Commit

Permalink
ci: run long tests nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Oct 10, 2022
1 parent c719ed4 commit 09be5f9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ci

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

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

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: ".go-version"
-
name: Go mod download
run: go mod download -x
-
name: Run long tests
run: go test -timeout=30m -tags=longtest ./...

0 comments on commit 09be5f9

Please sign in to comment.