File: latest-server.yaml

package info (click to toggle)
golang-github-nats-io-go-nats 1.41.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 3,096 kB
  • sloc: sh: 13; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 877 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
name: Test nats-server@main
on:
  schedule:
    - cron: "30 8 * * *"

jobs:
    test:
        runs-on: ubuntu-latest
        steps:
            - name: Checkout code
              uses: actions/checkout@v4
      
            - name: Setup Go
              uses: actions/setup-go@v5
              with:
                go-version: 'stable'
                
            - name: Get latest server
              shell: bash --noprofile --norc -x -eo pipefail {0}
              run: |
                go get -modfile go_test.mod github.com/nats-io/nats-server/v2@main

            - name: Test
              shell: bash --noprofile --norc -x -eo pipefail {0}
              run: |
                go test -modfile=go_test.mod -v -run=TestNoRace -p=1 ./... --failfast -vet=off
                go test -modfile=go_test.mod -race -v -p=1 ./... --failfast -vet=off -tags=internal_testing