File: long-tests.yaml

package info (click to toggle)
nats-server 2.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,452 kB
  • sloc: sh: 720; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: NATS Server Long Tests

on:
  # Allow manual trigger (any branch)
  workflow_dispatch:
  # Run daily at 12:30 on default branch
  schedule:
    - cron: "30 12 * * *"

permissions:
  contents: read

concurrency:
  # At most one of these workflow per ref running
  group: ${{ github.workflow }}-${{ github.ref }}
  # New one cancels in-progress one
  cancel-in-progress: true

jobs:
  js-long:
    name: Long JetStream tests
    runs-on: ${{ vars.GHA_WORKER_MEDIUM || 'ubuntu-latest' }}
    steps:
      - name: Checkout
        uses: actions/checkout@v6

      - name: Install Go
        uses: actions/setup-go@v6
        with:
          go-version: stable

      - name: Run tests
        run: go test -race -v -run='^TestLong.*' ./server -tags=include_js_long_tests -count=1 -vet=off -timeout=60m -shuffle on -p 1 -failfast