mirror of
https://github.com/coredns/coredns.git
synced 2026-07-21 15:10:18 -04:00
ci: run plugin tests on Windows (#8314)
Plugin package tests previously ran only on Linux, so Windows- specific failures were never caught. Run them in CI and make the affected tests portable across platforms. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
6
.github/workflows/go.test.yml
vendored
6
.github/workflows/go.test.yml
vendored
@@ -59,7 +59,10 @@ jobs:
|
||||
|
||||
test-plugins:
|
||||
name: Test Plugins
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
@@ -76,6 +79,7 @@ jobs:
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: ( cd plugin; go test -race ./... )
|
||||
|
||||
test-e2e:
|
||||
|
||||
Reference in New Issue
Block a user