Skip to content

Commit

Permalink
Enable circleci to run tests on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed May 15, 2020
1 parent 86e5805 commit 69f5e04
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
win: circleci/windows@2.2.0

executors:
golang:
docker:
Expand Down Expand Up @@ -61,6 +64,12 @@ workflows:
filters:
tags:
only: /^v([0-9])+.([0-9])+.([0-9])+.*/
- windows-test:
requires:
- setup-and-lint
filters:
tags:
only: /^v([0-9])+.([0-9])+.([0-9])+.*/
- build:
requires:
- setup-and-lint
Expand Down Expand Up @@ -234,3 +243,15 @@ jobs:
- publish_docker_images:
repo: opentelemetry-collector-dev
tag: ${CIRCLE_SHA1}

windows-test:
executor:
name: win/default
shell: powershell.exe
steps:
- checkout
- run: systeminfo
- run:
name: Unit tests
shell: powershell.exe
command: make test

0 comments on commit 69f5e04

Please sign in to comment.