diff options
Diffstat (limited to '.github/workflows/build-simulator.yml')
| -rw-r--r-- | .github/workflows/build-simulator.yml | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/.github/workflows/build-simulator.yml b/.github/workflows/build-simulator.yml deleted file mode 100644 index ee8f95f2..00000000 --- a/.github/workflows/build-simulator.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Build Simulator - -on: - pull_request: - branches: [master] - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - java: [8, 15] - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@v1 - - name: Set up JDK - uses: actions/setup-java@v1 - with: - java-version: ${{ matrix.java }} - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - uses: actions/cache@v1 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-${{ matrix.java }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-${{ matrix.java }}-gradle- - - name: Build with Gradle - run: ./gradlew assemble - - name: Check with Gradle - run: ./gradlew check codeCoverageReport - - name: Publish report - if: always() - uses: mikepenz/action-junit-report@v2 - with: - check_name: test (Java ${{ matrix.java }}) - report_paths: '**/build/test-results/test/TEST-*.xml' - github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Upload artifacts - if: always() - uses: actions/upload-artifact@v2 - with: - name: reports-${{ matrix.os }}-jdk${{ matrix.java }} - path: | - ./**/build/reports/**/* - ./**/build/test-results/**/* - retention-days: 5 - - name: Upload code coverage - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./build/reports/jacoco/report.xml - flags: simulator |
