Hide entity I/O panels until an entity is selected #94
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: CI | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| GDTOOLKIT_VERSION: "4.*" | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| static-checks: | |
| name: GDScript Lint & Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.x" | |
| - name: Install gdtoolkit | |
| run: | | |
| python -m pip install --upgrade setuptools | |
| python -m pip install "gdtoolkit==${GDTOOLKIT_VERSION}" | |
| - name: Check formatting | |
| run: gdformat --check addons/hammerforge/ | |
| - name: Lint | |
| run: gdlint addons/hammerforge/ | |
| unit-tests: | |
| name: GUT Unit Tests | |
| runs-on: ubuntu-latest | |
| env: | |
| GODOT_VERSION: "4.6-stable" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Download Godot | |
| run: | | |
| wget -q "https://github.com/godotengine/godot/releases/download/${GODOT_VERSION}/Godot_v${GODOT_VERSION}_linux.x86_64.zip" -O godot.zip | |
| unzip -q godot.zip | |
| mv Godot_v${GODOT_VERSION}_linux.x86_64 /usr/local/bin/godot | |
| chmod +x /usr/local/bin/godot | |
| - name: Import project | |
| run: godot --headless --import --path . 2>&1 || true | |
| - name: Run GUT tests | |
| run: | | |
| godot --headless -s res://addons/gut/gut_cmdln.gd --path . 2>&1 | |
| exit $? |