com.unity.uiextensions/.github/workflows/development-buildandtestupm...

30 lines
930 B
YAML
Raw Normal View History

2023-03-12 19:58:04 +08:00
name: Build and test UPM packages for platforms, all branches except main
on:
pull_request:
branches-ignore:
- 'release'
2023-03-12 19:58:04 +08:00
# 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:
2023-03-12 19:58:04 +08:00
# Check Unity version required by the package
2023-02-07 20:07:01 +08:00
# 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
2023-02-07 20:07:01 +08:00
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'
2023-03-12 19:58:04 +08:00
uses: ./.github/workflows/rununitybuildmultiversion.yml