Feature/2023testing #17
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: Build and test UPM packages for platforms, all branches except main | |
on: | |
pull_request: | |
branches-ignore: | |
- 'release' | |
# Ignore PRs targeting main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# Check Unity version required by the package | |
# Run Unity build unit tests defined in the package for a single version for feature branches | |
Run-Partial-Unit-Tests: | |
name: Run Unity Unit Tests | |
if: github.ref != 'refs/heads/development' | |
uses: ./.github/workflows/rununitysinglebuild.yml | |
with: | |
unityversion: 2020.3 | |
# Run Unity multi-version build unit tests defined in the package for the development branch | |
Run-Full-Unit-Tests: | |
name: Run Unity Unit Tests | |
if: github.ref == 'refs/heads/development' | |
uses: ./.github/workflows/rununitybuildmultiversion.yml |