Remove requirement that first child of action leaf should be ActionLe… #361
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: beehave-ci | |
| on: | |
| push: | |
| branches: | |
| - "godot-4.x" | |
| paths-ignore: | |
| - "**.jpg" | |
| - "**.png" | |
| - "**.svg" | |
| - "**.md" | |
| - "**plugin.cfg" | |
| pull_request: | |
| paths-ignore: | |
| - "**.jpg" | |
| - "**.png" | |
| - "**.svg" | |
| - "**.md" | |
| - "**plugin.cfg" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| unit-tests: | |
| 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.2.2", "4.3", "4.4"] | |
| name: "🤖 CI on Godot ${{ 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" | |
| needs: [unit-tests] | |
| steps: | |
| - run: exit 1 | |
| if: >- | |
| ${{ | |
| contains(needs.*.result, 'failure') | |
| || contains(needs.*.result, 'cancelled') | |
| }} |