fix(auth): don't log an error when there is no stored session #232
Workflow file for this run
This file contains hidden or 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: Integration Tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| integration-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Setup Supabase CLI | |
| uses: supabase/setup-cli@v1 | |
| with: | |
| version: latest | |
| - name: Start Supabase | |
| run: supabase start --workdir integration-test | |
| - name: Export Supabase env vars | |
| run: | | |
| echo "SUPABASE_URL=$(supabase status --workdir integration-test --output json | jq -r '.API_URL')" >> $GITHUB_ENV | |
| echo "SUPABASE_ANON_KEY=$(supabase status --workdir integration-test --output json | jq -r '.ANON_KEY')" >> $GITHUB_ENV | |
| echo "SUPABASE_SERVICE_ROLE_KEY=$(supabase status --workdir integration-test --output json | jq -r '.SERVICE_ROLE_KEY')" >> $GITHUB_ENV | |
| - name: Run integration tests | |
| run: ./gradlew :integration-test:test -Pintegration --stacktrace --configuration-cache | |
| - name: Stop Supabase | |
| if: always() | |
| run: supabase stop --workdir integration-test |