File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,27 @@ jobs:
4141 - name : Unit tests and coverage
4242 run : make cov
4343
44- integartion -test :
44+ integration -test :
4545 needs : [coverage]
4646 name : Integration tests
47- runs-on : ubuntu-latest
47+ runs-on : ${{ matrix.os }}
48+ strategy :
49+ fail-fast : false
50+ matrix :
51+ os : [ubuntu-latest, macos-latest, windows-latest]
4852 steps :
4953 - uses : actions/checkout@v4
5054 - uses : actions/setup-go@v5
5155 with :
5256 go-version-file : go.mod
5357
5458 - name : Integration tests
55- run : make test-int-all
59+ shell : bash
60+ run : |
61+ os_name="$(go env GOOS)"
62+ if [[ "${os_name}" == "darwin" || "${os_name}" == "windows" ]]; then
63+ make "test-int-${os_name}-all"
64+ else
65+ # linux runs all tests;
66+ make test-int-all
67+ fi
You can’t perform that action at this time.
0 commit comments