feat(login): Login With Steam (#132) #137
This file contains 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: 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-test: | |
name: "🤖 unit tests on Godot v${{ matrix.godot-version }}-${{ matrix.godot-status-version }} (${{ matrix.name }})" | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
continue-on-error: false | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
godot-version: ['4.1.3', '4.2.1'] | |
godot-status-version: ['stable'] | |
include: | |
- os: ubuntu-22.04 | |
name: Godot 🐧 Linux Build | |
godot-bin-name: 'linux.x86_64' | |
godot-executable_path: '~/godot-linux/godot' | |
godot-cache-path: '~/godot-linux' | |
godot-mono: false | |
install-opengl: false | |
test-path: 'res://addons/godot-playfab/test/' | |
steps: | |
- name: "📦 Checkout" | |
uses: actions/checkout@v3 | |
- name: "🤖 Install Godot ${{ matrix.godot-version }}" | |
uses: ./.github/actions/godot-install | |
with: | |
godot-version: ${{ matrix.godot-version }} | |
godot-status-version: ${{ matrix.godot-status-version }} | |
godot-bin-name: ${{ matrix.godot-bin-name }} | |
godot-cache-path: ${{ matrix.godot-cache-path }} | |
- name: "♻️ Update Godot project cache" | |
if: ${{ !cancelled() }} | |
timeout-minutes: 1 | |
continue-on-error: true # we still ignore the timeout, the script is not quit and we run into a timeout | |
shell: bash | |
run: | | |
${{ matrix.godot-executable_path }} --version | |
${{ matrix.godot-executable_path }} -e --path . -s res://addons/gdUnit4/bin/ProjectScanner.gd --headless | |
- name: "🧪 Run Unit Tests" | |
if: ${{ !cancelled() }} | |
timeout-minutes: 10 | |
uses: ./.github/actions/unit-test | |
with: | |
godot-bin: ${{ matrix.godot-executable_path }} | |
test-includes: ${{ matrix.test-path }} | |
#- name: "📚 Publish Unit Test Reports" | |
# if: ${{ !cancelled() }} | |
# uses: ./.github/actions/publish-test-report | |
# with: | |
# report-name: ${{ matrix.godot-build }}${{ matrix.godot-version }} | |
#- name: "🎉 Upload Unit Test Reports" | |
# if: ${{ !cancelled() }} | |
# uses: ./.github/actions/upload-test-report | |
# with: | |
# report-name: ${{ matrix.godot-build }}${{ matrix.godot-version }} |