.github/workflows: run processtest separately

Updates #2571
This commit is contained in:
Hajime Hoshi 2023-02-25 13:23:23 +09:00
parent ec6f425fa0
commit 2baecccf45

View File

@ -122,6 +122,7 @@ jobs:
run: |
# Run the ebiten package tests first, which are heavy (#2571).
go test -shuffle=on -v .
go test -shuffle=on -v ./internal/processtest
# Second attempt to run the ebiten package tests should use cache.
go test -shuffle=on -v ./...
@ -133,6 +134,7 @@ jobs:
sudo apt-get install gcc-multilib
sudo apt-get install libasound2-dev:i386 libgl1-mesa-dev:i386 libxcursor-dev:i386 libxi-dev:i386 libxinerama-dev:i386 libxrandr-dev:i386 libxxf86vm-dev:i386
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v .
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ./internal/processtest
env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v ./...
- name: go test (Linux OpenGL ES)
@ -140,6 +142,7 @@ jobs:
run: |
sudo apt-get install libgles2-mesa-dev
env EBITENGINE_GRAPHICS_LIBRARY=opengl EBITENGINE_OPENGL=es go test -shuffle=on -v .
env EBITENGINE_GRAPHICS_LIBRARY=opengl EBITENGINE_OPENGL=es go test -shuffle=on -v ./internal/processtest
env EBITENGINE_GRAPHICS_LIBRARY=opengl EBITENGINE_OPENGL=es go test -shuffle=on -v ./...
- name: go test (Windows 386)