Merge branch 'master' of https://github.com/BluePixelDev/TMPAnimated #12
  
    
      This file contains hidden or 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: "Run Tests" | |
| on: | |
| push: | |
| paths-ignore: | |
| - "README.md" | |
| - "CHANGELOG.md" | |
| - ".github/**" | |
| - "Samples/**" | |
| jobs: | |
| test-package: | |
| name: Test the package | |
| runs-on: ubuntu-latest | |
| steps: | |
| #Checkout | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| # Move the package to a subdirectory | |
| - name: Move package to subdirectory | |
| run: | | |
| mkdir -p unity-package | |
| shopt -s extglob | |
| mv !(unity-package) unity-package/ | |
| shopt -u extglob | |
| # Test | |
| - name: Run tests | |
| uses: game-ci/unity-test-runner@v4 | |
| env: | |
| UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
| UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
| UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
| with: | |
| packageMode: true | |
| projectPath: unity-package | |
| githubToken: ${{ secrets.GITHUB_TOKEN }} | |
| unityVersion: ${{ vars.UNITY_VERSION }} |