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

update to gdunit 4.3 #342

Merged
merged 1 commit into from
Jun 22, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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/beehave-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.3', '4.2.1']
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/gdUnit4-action@v1.1.1
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.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ In order to avoid bugs creeping into the codebase, every feature is covered by u
# 📦 Installation

1. [Download Latest Release](https://github.com/bitbrain/beehave/releases/latest)
- (optional) access latest build for [Godot 3.x](https://github.com/bitbrain/beehave/archive/refs/heads/godot-3.x.zip), [Godot 4.x](https://github.com/bitbrain/beehave/archive/refs/heads/godot-4.x.zip)
- (optional) access latest build for [Godot 3.x](https://github.com/bitbrain/beehave/archive/refs/heads/godot-3.x.zip), [Godot 4.x](https://github.com/bitbrain/beehave/archive/refs/heads/godot-4.x.zip)
2. Unpack the `addons/beehave` folder into your `/addons` folder within the Godot project
3. Enable this addon within the Godot settings: `Project > Project Settings > Plugins`
4. Move `script_templates` into your project folder.
Expand All @@ -49,6 +49,8 @@ To better understand what branch to choose from for which Godot version, please
|---|---|--|
|`3.x`|`3.x`|`1.x`|
|`4.x`|`4.x`|`2.x`|
|`4.1.x`|`4.x`|`2.7.x`|
|`4.0.x`|`4.x`|`2.7.x`|

Refer to [this guide](https://bitbra.in/2023/09/03/godot-addon-compatibility.html) for more details behind this structure.

Expand All @@ -68,7 +70,6 @@ Behavior trees are a modular way to build AI logic for your game. For simple AI,

[Liam Flannery](https://twitter.com/liamflannery56) wrote up a getting started [tutorial](https://medium.com/@liam.flannery56/easily-creating-behaviour-trees-in-godot-4-2-beehave-tutorial-ff8a911d43a0) that's up to date with Godot 4.2


# 🥰 Credits

- logo designs by [@NathanHoad](https://twitter.com/nathanhoad) & [@StuartDeVille](https://twitter.com/StuartDeVille)
Expand Down
Loading
Loading