Skip to content

Release version 1.0 #21

Release version 1.0

Release version 1.0 #21

name: Test Preprocessor
on: [push, pull_request]
env:
GODOT_EXECUTABLE: Godot_v${{ vars.GODOT_VERSION }}_linux.x86_64
jobs:
test-preprocessor:
name: Test Preprocessor
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Godot
id: cache-godot
uses: actions/cache@v4
env:
cache-name: cache-godot
with:
path: ./${{ env.GODOT_EXECUTABLE }}
key: ${{ runner.os }}-${{ env.cache-name }}-${{ vars.GODOT_VERSION }}
- if: ${{ steps.cache-godot.outputs.cache-hit != 'true' }}
name: Install Godot
run: |
wget -q https://github.com/godotengine/godot-builds/releases/download/${{ vars.GODOT_VERSION }}/${{ env.GODOT_EXECUTABLE }}.zip
unzip ${{ env.GODOT_EXECUTABLE }}.zip
- name: Run tests
run: |
./${{ env.GODOT_EXECUTABLE }} --headless -s tests/runner.gd