Skip to content

各AnimatorStateにWriteDefaultsを設定できるようにした #28

各AnimatorStateにWriteDefaultsを設定できるようにした

各AnimatorStateにWriteDefaultsを設定できるようにした #28

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
uses: ./.github/workflows/build.yml
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup repository
run: |
mkdir .github/ProjectRoot/Packages/dev.paltee.avatar-aid -p
mv * .github/ProjectRoot/Packages/dev.paltee.avatar-aid
- uses: anatawa12/sh-actions/resolve-vpm-packages@master
with:
project-path: .github/ProjectRoot
repos: |
https://vpm.nadena.dev/vpm-prerelease.json
- uses: actions/cache@v4
with:
path: .github/ProjectRoot/Library
key: Library-${{ hashFiles('.github/ProjectRoot/Packages/*.json') }}
restore-keys: Library-
- uses: game-ci/unity-test-runner@v4
id: gameci
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
unityVersion: 2022.3.22f1
testMode: EditMode
projectPath: .github/ProjectRoot
coverageOptions: generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+dev.paltee.*,-dev.paltee.*.tests
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: Coverage Report
path: ${{ steps.gameci.outputs.coveragePath }}