Initial checkin
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
name: Verify Export Config
|
||||
on: workflow_dispatch
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Download export templates (cached)
|
||||
run: |
|
||||
mkdir -p .godot/export_templates
|
||||
wget -qO- https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_export_templates.tpz \
|
||||
| tar xzf - -C .godot/export_templates --strip-components=1
|
||||
- name: Validate project compiles cleanly
|
||||
run: godot --headless --quit-after-editor-checks 2>&1 | tee editor.log
|
||||
@@ -0,0 +1,11 @@
|
||||
name: GDScript Lint
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run gd-lint
|
||||
run: |
|
||||
pipx install godot-lint
|
||||
gd_lint src/ --error-on-warn --ignore=core/,tools/
|
||||
@@ -0,0 +1,14 @@
|
||||
name: Run Tests
|
||||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Godot CLI
|
||||
run: |
|
||||
wget -q https://github.com/godotengine/godot/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
|
||||
unzip -qq *.zip -d /tmp/ && sudo cp "/tmp/Godot v4.3 stable/Godot_v4.3-stable_linux.x86_64" /usr/local/bin/godot && chmod +x /usr/local/bin/godot
|
||||
- name: Run headless tests
|
||||
run: |
|
||||
godot --headless --script res://tests/run_tests.gd --quit-after-tests
|
||||
Reference in New Issue
Block a user