1818 branches :
1919 - ' **'
2020
21- concurrency :
22- group : ${{ github.workflow }}-${{ github.ref }}
23- cancel-in-progress : ${{ github.event_name == 'pull_request' }}
24-
2521jobs :
26- test-linux :
27- name : Test (Linux)
28- runs-on : [self-hosted, linux, bee]
29- steps :
30- - name : Checkout
31- uses : actions/checkout@v5
32- - name : Setup Go
33- uses : actions/setup-go@v6
34- with :
35- cache : true
36- go-version-file : go.mod
37- - name : Build
38- run : make build
39- - name : Test with race detector
40- run : make test-ci-race
41- test-other :
22+ test :
4223 name : Test
4324 runs-on : ${{ matrix.os }}
4425 strategy :
4526 matrix :
46- os : [macos-latest, windows-latest]
27+ os : [ubuntu-latest, macos-latest, windows-latest]
4728 steps :
4829 - name : Checkout
4930 uses : actions/checkout@v5
@@ -52,14 +33,19 @@ jobs:
5233 with :
5334 cache : true
5435 go-version-file : go.mod
36+ - name : Increase UDP buffer sizes (Ubuntu)
37+ if : matrix.os == 'ubuntu-latest'
38+ run : |
39+ sudo sysctl -w net.core.rmem_max=7500000
40+ sudo sysctl -w net.core.wmem_max=7500000
5541 - name : Increase UDP buffer sizes (macOS)
5642 if : matrix.os == 'macos-latest'
5743 run : |
5844 sudo sysctl -w kern.ipc.maxsockbuf=6291456
5945 - name : Build
6046 run : make build
61- - name : Test with race detector (macOS )
62- if : matrix.os == 'macos -latest'
47+ - name : Test with race detector (Ubuntu and MacOS )
48+ if : matrix.os != 'windows -latest'
6349 run : make test-ci-race
6450 - name : Test without race detector (Windows)
6551 if : matrix.os == 'windows-latest'
@@ -124,7 +110,7 @@ jobs:
124110 trigger-beekeeper :
125111 name : Trigger Beekeeper
126112 runs-on : ubuntu-latest
127- needs : [test-linux, test-other , lint, coverage]
113+ needs : [test, lint, coverage]
128114 if : github.ref == 'refs/heads/master'
129115 steps :
130116 - name : Checkout
0 commit comments