Skip to content

Add test for objective_status_updated in quest resource #18

Add test for objective_status_updated in quest resource

Add test for objective_status_updated in quest resource #18

name: quest-system-ci
on:
push:
branches:
- main
paths-ignore:
- '**.jpg'
- '**.png'
- '**.md'
- '**.svg'
- '**plugin.cfg'
pull_request:
paths-ignore:
- '**.jpg'
- '**.png'
- '**.md'
- '**.svg'
- '**plugin.cfg'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
checks: write
pull-requests: write
statuses: write
strategy:
fail-fast: false
max-parallel: 10
matrix:
godot-version: ['4.3', '4.2.2']
godot-status: ['stable']
name: "πŸ§ͺ CI on Godot ${{ matrix.godot-version }}"
steps:
- name: "πŸ“¦ Checkout repository"
uses: actions/checkout@v4
- name: "πŸ§ͺ Run unit tests"
uses: MikeSchulze/[email protected]
with:
godot-version: ${{ matrix.godot-version }}
godot-status: ${{ matrix.godot-status }}
paths: "res://tests"
version: "installed"
publish-report: false
report-name: unit_tests_report_Godot${{ matrix.godot-version }}
timeout: 3
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')
}}