Merge pull request #6 from Delsin-Yu/4.x #24
Workflow file for this run
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: 🧪 Run Unit Tests | |
on: [push, pull_request] | |
jobs: | |
Tests: | |
name: Run All Tests on 3.5 | |
runs-on: ubuntu-latest | |
container: barichello/godot-ci:mono-3.5 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Dependencies | |
run: | | |
nuget restore | |
mkdir -p .mono/assemblies/Debug | |
cp /usr/local/bin/GodotSharp/Api/Release/* .mono/assemblies/Debug | |
- name: Compile | |
run: msbuild | |
- name: Run | |
run: godot addons/WAT/cli.tscn run=all | |
- name: Upload Test Results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Test Results | |
path: tests/results.xml |