added go test on windows

This commit is contained in:
knoxfighter 2020-11-23 03:53:48 +01:00
parent 025be83029
commit dc62f48ac7

View File

@ -35,6 +35,16 @@ jobs:
echo "run full test suit"
go test ./... -v
fi
- if: contains(matrix.os, 'windows')
run: |
cd src
IF DEFINED factorio_password (
echo "run full test suit"
go test ./... -v
) ELSE (
echo "run only short tests"
go test ./... -v -test.short
)
docker-push:
needs: [test-npm, test-go]
runs-on: ubuntu-latest