diff --git a/.gitea/workflows/push-on-main.yaml b/.gitea/workflows/push-on-main.yaml index a76c7cb..44ad304 100644 --- a/.gitea/workflows/push-on-main.yaml +++ b/.gitea/workflows/push-on-main.yaml @@ -29,65 +29,65 @@ jobs: PRERELEASE: false INITIAL_VERSION: 0.1.0 -# Test: -# name: Test -# runs-on: unity -# strategy: -# fail-fast: false -# matrix: -# testMode: -# - playmode -# - editmode -# - standalone -# -# steps: -# - name: Checkout with LFS -# uses: https://git.game-dev.space/minimata/checkout-lfs.git@main -# with: -# checkout-version: 4 -# -# # Cache -# - uses: actions/cache@v4 -# with: -# path: Library -# key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} -# restore-keys: | -# Library- -# -# # Test -# - name: Run tests -# uses: game-ci/unity-test-runner@v4 -# id: tests -# env: -# UNITY_LICENSE: ${{ secrets.UNITYLICENSE }} -# UNITY_EMAIL: ${{ secrets.UNITYEMAIL }} -# UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }} -# with: -# useHostNetwork: true -# unityVersion: 2022.3.42f1 -# customImage: 'unityci/editor:ubuntu-2022.3.42f1-linux-il2cpp-3' -# dockerCpuLimit: 4 -# dockerMemoryLimit: 8g -# testMode: ${{ matrix.testMode }} -# artifactsPath: ${{ matrix.testMode }}-artifacts -# checkName: ${{ matrix.testMode }} Test Results -# customParameters: -testCategory "!AltTester" -# - name: Upload test results -# uses: actions/upload-artifact@v3 -# if: always() -# with: -# name: Test results for ${{ matrix.testMode }} -# path: ${{ steps.tests.outputs.artifactsPath }} -# - name: Upload test coverage -# uses: actions/upload-artifact@v3 -# if: always() -# with: -# name: Coverage results for ${{ matrix.testMode }} -# path: ${{ steps.tests.outputs.coveragePath }} + Test: + name: Test + runs-on: unity + strategy: + fail-fast: false + matrix: + testMode: + - playmode + - editmode + - standalone + + steps: + - name: Checkout with LFS + uses: https://git.game-dev.space/minimata/checkout-lfs.git@main + with: + checkout-version: 4 + + # Cache + - uses: actions/cache@v4 + with: + path: Library + key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} + restore-keys: | + Library- + + # Test + - name: Run tests + uses: game-ci/unity-test-runner@v4 + id: tests + env: + UNITY_LICENSE: ${{ secrets.UNITYLICENSE }} + UNITY_EMAIL: ${{ secrets.UNITYEMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITYPASSWORD }} + with: + useHostNetwork: true + unityVersion: 2022.3.42f1 + customImage: 'unityci/editor:ubuntu-2022.3.42f1-linux-il2cpp-3' + dockerCpuLimit: 4 + dockerMemoryLimit: 8g + testMode: ${{ matrix.testMode }} + artifactsPath: ${{ matrix.testMode }}-artifacts + checkName: ${{ matrix.testMode }} Test Results + customParameters: -testCategory "!AltTester" + - name: Upload test results + uses: actions/upload-artifact@v3 + if: always() + with: + name: Test results for ${{ matrix.testMode }} + path: ${{ steps.tests.outputs.artifactsPath }} + - name: Upload test coverage + uses: actions/upload-artifact@v3 + if: always() + with: + name: Coverage results for ${{ matrix.testMode }} + path: ${{ steps.tests.outputs.coveragePath }} Build: name: Build - # needs: Test + needs: Test runs-on: unity strategy: fail-fast: false diff --git a/Packages/manifest.json b/Packages/manifest.json index 21e0d47..f24b0ef 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,6 +1,5 @@ { "dependencies": { - "com.unity.ai.navigation": "2.0.8", "com.unity.collab-proxy": "2.8.2", "com.unity.ide.rider": "3.0.36", "com.unity.ide.visualstudio": "2.0.23", @@ -41,4 +40,4 @@ "com.unity.modules.wind": "1.0.0", "com.unity.modules.xr": "1.0.0" } -} \ No newline at end of file +} diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 0196758..a6dbb7f 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,14 +1,5 @@ { "dependencies": { - "com.unity.ai.navigation": { - "version": "2.0.8", - "depth": 0, - "source": "registry", - "dependencies": { - "com.unity.modules.ai": "1.0.0" - }, - "url": "https://packages.unity.com" - }, "com.unity.burst": { "version": "1.8.21", "depth": 2,