Skip to content

Commit 6dd26a3

Browse files
chore(ci): add unit tests for 32-bit linux and windows (#32)
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
1 parent b0e76fa commit 6dd26a3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
go-version: [1.16, 1.17, 1.18]
29+
fail-fast: false
2930
steps:
3031
- name: Setup Go ${{ matrix.go-version }}
3132
uses: actions/setup-go@v3
@@ -55,6 +56,7 @@ jobs:
5556
matrix:
5657
os: [macos-latest, windows-latest, ubuntu-latest]
5758
go-version: [1.16, 1.17, 1.18]
59+
fail-fast: false
5860
steps:
5961
- name: Setup Go ${{ matrix.go-version }}
6062
uses: actions/setup-go@v3
@@ -65,3 +67,22 @@ jobs:
6567
- name: Run tests
6668
run: |
6769
go test -v -race -cover -short ./...
70+
build-32bit:
71+
name: "unit tests (32-bit)"
72+
runs-on: ${{ matrix.os }}
73+
strategy:
74+
matrix:
75+
os: [windows-latest, ubuntu-latest]
76+
fail-fast: false
77+
env:
78+
GOARCH: 386
79+
steps:
80+
- name: Setup Go 1.18
81+
uses: actions/setup-go@v3
82+
with:
83+
go-version: 1.18
84+
- name: Checkout code
85+
uses: actions/checkout@v3
86+
- name: Run tests
87+
run: |
88+
go test -v -cover -short ./...

0 commit comments

Comments
 (0)