forked from hazelcast/hazelcast-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 987 Bytes
/
nightly_tests.yaml
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
34
35
36
37
38
39
name: Go nightly build
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
jobs:
test_client:
runs-on: ${{ matrix.os }}
name: Run tests of master on ${{ matrix.os }} with Go ${{ matrix.go_version }}
if: github.repository == 'hazelcast/hazelcast-go-client'
strategy:
matrix:
os: [ ubuntu-latest ]
go_version: [ 1.17, 1.18, 1.19 ]
fail-fast: false
steps:
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go_version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
env:
HAZELCAST_ENTERPRISE_KEY: ${{ secrets.HAZELCAST_ENTERPRISE_KEY }}
HZ_VERSION: 5.1
ENABLE_SSL: 1
MEMBER_COUNT: 3
run: |
./rc.sh start
go mod tidy
make test-cover