Skip to content

Commit

Permalink
ci: skip case on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Mar 22, 2024
1 parent 18173d9 commit 8e0bf59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
run: |
go build .
- name: Test and coverage
# we cannot use `go test ./...` currently, because many test cases are failed
run: |
go test ./... -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
Expand Down
5 changes: 5 additions & 0 deletions internal/module/http/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,18 @@
package http

import (
"runtime"
"testing"

"github.com/version-fox/vfox/internal/config"
lua "github.com/yuin/gopher-lua"
)

func TestWithConfig(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Skip on windows, the proxy won't error on windows.")
}

const str = `
local http = require("http")
assert(type(http) == "table")
Expand Down

0 comments on commit 8e0bf59

Please sign in to comment.