From 09be5f9e6e2844b8a7f64ab3b952b2a950a9f5f0 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Fri, 7 Oct 2022 17:08:37 +0100 Subject: [PATCH] ci: run long tests nightly --- .github/workflows/nightly-tests.yml | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/nightly-tests.yml diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml new file mode 100644 index 000000000..b01d7b3a3 --- /dev/null +++ b/.github/workflows/nightly-tests.yml @@ -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 ./...