mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-29 02:57:24 +02:00
use single run step for go tests
This commit is contained in:
parent
f4dbc2bdea
commit
cdd8ff0e3f
11
.github/workflows/test-workflow.yml
vendored
11
.github/workflows/test-workflow.yml
vendored
@ -25,10 +25,13 @@ jobs:
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
- if: ${{ secrets.FACTORIO_USERNAME }}
|
||||
run: cd src; go test ./... -v
|
||||
- if: !${{ secrets.FACTORIO_USERNAME }}
|
||||
run: cd src; go test ./... -v -test.short
|
||||
- run: |
|
||||
cd src
|
||||
if ["$factorio_password" != ""]; then
|
||||
go test ./... -v
|
||||
else
|
||||
go test ./... -v -test.short
|
||||
fi
|
||||
docker-push:
|
||||
needs: [test-npm, test-go]
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user