Skip to content

Commit

Permalink
test: resolve windows build failures (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Jun 22, 2021
1 parent 83c5349 commit e4e2263
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- goreleaser/check
- golangci/install
- golangci/lint
- run: go install github.com/ory/go-acc github.com/mattn/goveralls
- run: go-acc -o coverage.out ./... -- -failfast -timeout=20m
- run: make .bin/go-acc
- run: .bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m
- run: |
bash <(curl -s https://codecov.io/bash)
- run: ./test/e2e/run.sh
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/windows_test.yml

This file was deleted.

4 changes: 4 additions & 0 deletions rule/fetcher_default_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ access_rules:
}

func TestFetcherWatchRepositoryFromFS(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skipping watcher tests on windows")
}

conf := internal.NewConfigurationWithDefaults() // this resets viper!!
r := internal.NewRegistry(conf)

Expand Down

0 comments on commit e4e2263

Please sign in to comment.