Skip to content

Commit

Permalink
Replace assemble task with verifyDebugDatabaseMigration
Browse files Browse the repository at this point in the history
  • Loading branch information
InvictusRMC committed Feb 20, 2024
1 parent 47f7cef commit 093a01e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: debug
name: Execute checks

on:
pull_request:
Expand All @@ -8,7 +8,6 @@ on:
jobs:
test:
name: Run Checks
# TODO: Ubuntu currently broken.
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,9 +21,12 @@ jobs:
distribution: 'zulu'
java-version: '17'

# TODO: Without assembleDebug, the check will fail on verifyDebugDatabaseMigration.
- name: Run assembleDebug
run: bash ./gradlew assembleDebug
# TODO: Without this step, the build 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
Expand Down

0 comments on commit 093a01e

Please sign in to comment.