Commit 1ec0a925 authored by Amos Wenger's avatar Amos Wenger

split mac tests, disable linux pipeline

parent e5e77126
Pipeline #10307 passed with stage
in 21 seconds
......@@ -2,13 +2,6 @@
stages:
- test
test:linux:
stage: test
tags:
- linux
script:
- scripts/ci.sh
test:windows:
stage: test
tags:
......
......@@ -7,20 +7,20 @@ import (
"github.com/stretchr/testify/assert"
)
func Test_GetExecutablePath(t *testing.T) {
s, err := macox.GetExecutablePath("/Applications/TextEdit.app")
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
func Test_GetLibraryPath(t *testing.T) {
{
s, err := macox.GetExecutablePath("/Applications/TextEdit.app")
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
{
s, err := macox.GetLibraryPath()
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
{
s, err := macox.GetApplicationSupportPath()
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
s, err := macox.GetLibraryPath()
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
func Test_GetApplicationSupportPath(t *testing.T) {
s, err := macox.GetApplicationSupportPath()
assert.NoError(t, err)
assert.NotEmpty(t, s)
}
......@@ -9,7 +9,7 @@ export PKG=github.com/itchio/ox
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'src' . $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
go get -v -d -t $PKG/...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment