name: Test Report Generator on: pull_request: {} push: { branches: [master] } env: UNITY_LICENSE: "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \nJHdOBFmBNq2H8BrGFzir/StLoYo=aENLHd37a51RtP2/g7YU0Pexf5mx0/ENXYGtrPzqwZ8NQt2AsSdxGnl0CUB45/GuNXfJVDt2HWot\ncNYZB2OylVBn1WHQbKZlPmm8gEAMz0MYbr4Isb5i5buryBrZlmbEOjnRI+pEg1CBwlgMo6xdtjjE\n/d7cC293QIUO91kdzRXftYou1dNaUyuPL9ZH65vdB2pDXGRNxgUVD+GnnqZA7b5L2HXqNQclcWAK\n5Yd1BeF3VzR1iLw9G/SmH5oOhnpXSmqbL4qk7LVP2/mgXpFk5kP4X8VC3z47obNhBIGq40dwWyEe\nUYk5/nRAOkZawDT+tcu96e06gPC9Cxk5PdbRbA==" jobs: testRunnerInEditMode: name: Test edit mode (with report) runs-on: ubuntu-latest strategy: fail-fast: false matrix: unityVersion: - 2019.2.11f1 projectPath: - unity-project-with-correct-tests steps: # Checkout repository (required to test local actions) - name: Checkout repository uses: actions/checkout@v2 with: lfs: true # Enable caching - uses: actions/cache@v1.1.0 with: path: ${{ matrix.projectPath }}/Library key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }} restore-keys: | Library-${{ matrix.projectPath }}- Library- # Configure test runner - name: Run tests id: editMode uses: ./ with: projectPath: ${{ matrix.projectPath }} unityVersion: ${{ matrix.unityVersion }} testMode: editmode artifactsPath: artifacts/editmode # Upload artifacts - name: Upload test results if: always() uses: actions/upload-artifact@v1 with: name: Test results (edit mode) path: artifacts/editmode # Install dotnet - name: Installing dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: '2.1.202' - run: dotnet ./UnityTestRunnerResultsReporter/UnityTestRunnerResultsReporter.dll