Internet availability checks (#226) #74
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: Test package | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
test: | |
name: Run Tests in ${{ matrix.testMode }} ${{ matrix.unityVersion }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
testMode: | |
- playmode | |
# - editmode | |
projectPath: | |
- test-package | |
unityVersion: | |
- 2022.3.19f1 | |
- 2019.4.40f1 | |
- 2020.3.48f1 | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Setup Environment | |
run: | | |
mkdir ${{ matrix.projectPath }} | |
mv Editor Runtime Tests Android iOS Windows package.json ${{ matrix.projectPath }}/ | |
- name: Run Tests | |
uses: game-ci/[email protected] | |
env: | |
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} | |
with: | |
packageMode: true | |
projectPath: ${{ matrix.projectPath }}/ | |
testMode: ${{ matrix.testMode }} | |
unityVersion: ${{ matrix.unityVersion }} | |
coverageOptions: "generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*" |