Skip to content

Commit

Permalink
Merge branch 'godot-4.x' into add-texture2d-property
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbrain authored Jun 22, 2024
2 parents 71cfa01 + 921eda9 commit 5430956
Show file tree
Hide file tree
Showing 344 changed files with 7,421 additions and 8,919 deletions.
89 changes: 0 additions & 89 deletions .github/actions/godot-install/action.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/actions/publish-test-report/action.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/actions/unit-test/action.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/actions/upload-test-report/action.yml

This file was deleted.

53 changes: 35 additions & 18 deletions .github/workflows/pandora-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:
branches:
- "godot-4.x"
paths-ignore:
- '**.jpg'
- '**.png'
- '**.svg'
- '**.md'
- '**plugin.cfg'
- "**.jpg"
- "**.png"
- "**.svg"
- "**.md"
- "**plugin.cfg"
pull_request:
paths-ignore:
- '**.jpg'
- '**.png'
- '**.svg'
- '**.md'
- '**plugin.cfg'
- "**.jpg"
- "**.png"
- "**.svg"
- "**.md"
- "**plugin.cfg"
workflow_dispatch:

concurrency:
Expand All @@ -25,28 +25,45 @@ concurrency:

jobs:
unit-tests:
permissions: write-all
runs-on: ubuntu-latest
permissions:
actions: write
checks: write
contents: write
pull-requests: write
statuses: write

strategy:
fail-fast: false
max-parallel: 10
matrix:
godot-version: ['4.0.4', '4.1.1', '4.2']
godot-version: ["4.2.2"]

name: "🤖 CI on Godot ${{ matrix.godot-version }}"
uses: ./.github/workflows/unit-tests.yml
with:
godot-version: ${{ matrix.godot-version }}
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run GDUnit4 tests
uses: MikeSchulze/[email protected]
with:
godot-version: ${{ matrix.godot-version }}
godot-status: "stable"
timeout: 3
paths: "res://test"
version: "installed"
publish-report: false
report-name: report_Godot${{ matrix.godot-version }}_unit-tests

finalize:
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
name: Final Results
name: "Final Results"
needs: [unit-tests]
steps:
- run: exit 1
if: >-
${{
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
contains(needs.*.result, 'failure')
|| contains(needs.*.result, 'cancelled')
}}
83 changes: 0 additions & 83 deletions .github/workflows/unit-tests.yml

This file was deleted.

6 changes: 3 additions & 3 deletions TestScene.gd
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ func _ready() -> void:
print(item.get_entity_id(), " - ", item.get_entity_name())
var copper_ore = Pandora.get_entity(Ores.COPPER_ORE) as Item
print(copper_ore.get_entity_name())

var copper_instance = copper_ore.instantiate()

print(copper_instance.get_string("Description"))

print(copper_ore.get_rarity().get_rarity_color())
Loading

0 comments on commit 5430956

Please sign in to comment.