Skip to content

Merge pull request #3 from chickensoft-games/chore/updates #34

Merge pull request #3 from chickensoft-games/chore/updates

Merge pull request #3 from chickensoft-games/chore/updates #34

Workflow file for this run

name: 🚥 Tests
on:
push:
jobs:
tests:
name: 🧪 Evaluate Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
# Don't cancel other OS runners if one fails.
fail-fast: false
matrix:
# Put the operating systems you want to run on here.
os: [ubuntu-latest]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
defaults:
run:
# Use bash shells on all platforms.
shell: bash
steps:
- name: 🧾 Checkout
uses: actions/checkout@v3
- name: 💽 Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.407
- name: 📦 Restore Dependencies
run: dotnet restore
- name: 🤖 Setup Godot
uses: chickensoft-games/setup-godot@v1
with:
version: 4.0.1
- name: 🔬 Verify Setup
run: |
dotnet --version
godot --version
- name: 🧑‍🔬 Generate .NET Bindings
working-directory: Chickensoft.GoDotCollections.Tests
run: godot --headless --build-solutions --quit || exit 0
- name: 🦺 Build Projects
run: dotnet build # --configuration Release
- name: 🧪 Run Tests
working-directory: Chickensoft.GoDotCollections.Tests
run: godot --headless --run-tests --quit-on-finish