Skip to content

Merge pull request #188 from Tribler/build/release #36

Merge pull request #188 from Tribler/build/release

Merge pull request #188 from Tribler/build/release #36

Workflow file for this run

name: Execute checks
on:
pull_request:
push:
branches: master
jobs:
test:
name: Run Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ./.github/actions/checkout_submodules
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
# TODO: Without this step, the Gradle check task fails with the following error:
# Execution failed for task ':common:verifyDebugDatabaseMigration'.
# > A failure occurred while executing app.cash.sqldelight.gradle.VerifyMigrationTask$VerifyMigrationAction
# > No suitable driver found for jdbc:sqlite:
- name: Run verifyDebugDatabase
run: bash ./gradlew verifyDebugDatabaseMigration
- name: Run check
run: bash ./gradlew check
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}