Skip to content

Roolback to unity 2021.3.30f1 #244

Roolback to unity 2021.3.30f1

Roolback to unity 2021.3.30f1 #244

Workflow file for this run

name: UMVC.Editor
# Ref: https://gist.github.com/chatrat12/9780fffe59bc46a63bc0b9b665489e08
on:
push:
branches:
- master
pull_request:
branches: [ master ]
jobs:
test:
name: Test UMVC.Editor 🧪
runs-on: ubuntu-latest
steps:
- name: Wait for build to succeed
uses: fountainhead/action-wait-for-check@v1.1.0
id: wait-for-build
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: Build UMVC.Core 🏗️
ref: ${{ github.event.pull_request.head.sha }}
- name: Is UMVC.Core failing?
if: ${{ steps.wait-for-build.outputs.conclusion == 'failure' }}
run: echo "::error There is a problem with your UMVC.Core build! Exiting!!" && exit 1
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install python3-pip unzip curl -y && pip install requests
- name: Download UMVC.Core Build
run: python .github/workflows/scripts/downloadArtifacts.py ${{ secrets.PERSONAL_TOKEN }}
- name: Unzip and move UMVC.Core dlls
run: sh .github/workflows/scripts/install-umvc.editor-deps.sh
# Test edit mode
- name: Run playmode & editmode tests
uses: game-ci/unity-test-runner@v3
id: tests
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
unityVersion: 2021.3.16f1
testMode: All
coverageOptions: useProjectSettings;generateAdditionalMetrics
customParameters: -debugCodeOptimization -enableCodeCoverage
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
files: ${{ steps.tests.outputs.coveragePath }}/**/*.xml
fail_ci_if_error: true