Skip to content

Economy v2

Economy v2 #297

Workflow file for this run

name: CI Godot 4
# Controls when the workflow will run
on:
push:
branches:
- develop
- main
- godot4
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- develop
- main
- godot4
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
ADDON_NAME: godot-playfab
GODOT_PLAYFAB_TEST_USER: ${{ secrets.GODOT_PLAYFAB_TEST_USER }}
GODOT_PLAYFAB_TEST_PASSWORD: ${{ secrets.GODOT_PLAYFAB_TEST_PASSWORD }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
name: "🤖 unit tests on Godot v${{ matrix.godot-version }}-${{ matrix.godot-status }}"
runs-on: ${{ matrix.os }}
timeout-minutes: 5
continue-on-error: false
strategy:
fail-fast: false
max-parallel: 10
matrix:
include:
- os: ubuntu-latest
godot-version: '4.5'
godot-status: 'stable'
gdunit-version: 'master'
permissions:
actions: write
checks: write
contents: write
pull-requests: write
statuses: write
steps:
- name: "📦 Checkout"
uses: actions/checkout@v4
- name: "🧪 Run Unit Tests on Godot version ${{ matrix.godot-version }}"
uses: MikeSchulze/gdUnit4-action@v1.1.6
with:
godot-version: ${{ matrix.godot-version }}
godot-status: ${{ matrix.godot-status }}
version: ${{ matrix.gdunit-version }}
paths: |
'res://addons/godot-playfab/test'
timeout: 10
report-name: report_godot-playfab_Godot${{ matrix.godot-version }}-${{ matrix.godot-status }}.xml
publish-report: ${{ github.event.pull_request.head.repo.full_name == github.repository }}