Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Visibility issues and add tests to prove it #10

Merged
merged 5 commits into from
Feb 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
on: [push, pull_request]

name: Continuous integration

jobs:
gdlint:
name: Lint and Format checks
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'gdtoolkit==4.3.2'

- name: Lint and Format Checks
run: |
./check.sh

benchmark:
name: Performance Benchmark
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Godot Import
run: godot --headless --import

# TODO: run with the previous version and compare the results!
- name: Benchmark
run: |
./test.sh --benchmark-only

test:
name: Test
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- run: './update_addons.sh'
- name: Godot Import
run: godot --headless --import
- name: Gut Tests
uses: jamie-pate/[email protected]
with:
useContainer: false
gutConfigPath: tests/.gutconfig.json


4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/.godot
addons/*
/addons/*
!addons/DataBindControls
/benchmark.json

.py_venv
.DS_STORE
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "contrib/gdformat-plugin"]
path = contrib/gdformat-plugin
url = https://gitlab.com/DonatienBdR/gdformat-plugin.git
[submodule "contrib/gut"]
path = contrib/gut
url = https://github.com/bitwes/Gut.git
102 changes: 0 additions & 102 deletions Example.gd

This file was deleted.

16 changes: 0 additions & 16 deletions RootModel.gd

This file was deleted.

47 changes: 0 additions & 47 deletions addons/DataBindControls/BindTarget.gd

This file was deleted.

Loading