joryirving/windowstead #15: Improve dock UI polish for narrow overlay play #57
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| GODOT_VERSION: 4.2.2 | |
| GODOT_STATUS: stable | |
| GODOT_LINUX_URL: https://github.com/godotengine/godot-builds/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip | |
| jobs: | |
| smoke-test: | |
| name: Headless smoke test | |
| runs-on: [windowstead, linux, x64] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Download Godot | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| mkdir -p .tools | |
| curl -fsSL "$GODOT_LINUX_URL" -o /tmp/godot_linux.zip | |
| unzip -oq /tmp/godot_linux.zip -d .tools/ | |
| chmod +x .tools/Godot_v4.2.2-stable_linux.x86_64 | |
| - name: Verify Godot binary | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| chmod +x .tools/Godot_v4.2.2-stable_linux.x86_64 | |
| ./.tools/Godot_v4.2.2-stable_linux.x86_64 --version | |
| - name: Run headless smoke test | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| timeout 15 ./.tools/Godot_v4.2.2-stable_linux.x86_64 --headless --path . --fixed-fps 60 --quit-after 300 > smoke.log 2>&1 | |
| if grep -E "SCRIPT ERROR|ERROR:" smoke.log; then | |
| echo "Smoke test logged an engine/script error" >&2 | |
| exit 1 | |
| fi | |
| - name: Run lightweight script tests | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| ./.tools/Godot_v4.2.2-stable_linux.x86_64 --headless --path . --script res://tests/test_runner.gd > tests.log 2>&1 | |
| cat tests.log |