Skip to content

Commit

Permalink
ci(test): add windows os target
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Oct 20, 2021
1 parent 6329cd6 commit 7806f05
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- main
paths-ignore:
- 'README.md'
pull_request:
Expand All @@ -12,7 +13,11 @@ on:
- 'README.md'
jobs:
unit:
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -23,8 +28,9 @@ jobs:
with:
go-version: 1.17
- name: Setup Dependencies
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update -q
sudo apt-get install -qqy libpcsclite-dev
- name: Run tests
run: make test
run: go test ./... -cover

0 comments on commit 7806f05

Please sign in to comment.