Skip to content

Commit 0180b5c

Browse files
committed
add windows test runner
1 parent ef0703e commit 0180b5c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, macos-latest]
11+
os: [ubuntu-latest, macos-latest, windows-latest]
1212

1313
steps:
1414
- name: checkout
@@ -41,18 +41,21 @@ jobs:
4141
uses: actions/download-artifact@v3
4242
with:
4343
name: cover.ubuntu-latest
44-
4544
- name: download cover.macos-latest
4645
uses: actions/download-artifact@v3
4746
with:
4847
name: cover.macos-latest
49-
48+
- name: download cover.windows-latest
49+
uses: actions/download-artifact@v3
50+
with:
51+
name: cover.windows-latest
52+
5053
- name: check test coverage
5154
id: coverage
5255
uses: vladopajic/go-test-coverage@v2
5356
with:
5457
config: ./.github/.testcoverage.yml
55-
profile: cover.ubuntu-latest.profile,cover.macos-latest.profile
58+
profile: cover.ubuntu-latest.profile,cover.macos-latest.profile,cover.windows-latest.profile
5659
git-branch: badges
5760
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
5861

0 commit comments

Comments
 (0)