Add custom exception for PostgREST API errors and include HttpResponse
in RestException
s
#1712
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test project | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
test: | |
strategy: | |
matrix: | |
command: [ | |
'jvmTest testDebugUnitTest testReleaseUnitTest', | |
'jsTest wasmJsTest', | |
'iosX64Test iosSimulatorArm64Test', | |
'macosArm64Test macosX64Test', | |
'tvosX64Test tvosSimulatorArm64Test', | |
'watchosX64Test watchosSimulatorArm64Test', | |
'mingwX64Test', | |
] | |
runs-on: macos-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
with: | |
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
- name: Test supabase-kt | |
run: ./gradlew -DLibrariesOnly=true ${{ matrix.command }} --stacktrace --configuration-cache |