Skip to content

feat: implement cancelation token on some of upload method #34

feat: implement cancelation token on some of upload method

feat: implement cancelation token on some of upload method #34

name: Build and Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_SERVICE_KEY: ${{ secrets.SUPABASE_SERVICE_KEY }}
SUPABASE_PUBLIC_KEY: ${{ secrets.SUPABASE_PUBLIC_KEY }}
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- uses: supabase/setup-cli@v1
with:
version: latest
- name: Start supabase
run: supabase start
# - name: Initialize Testing Stack
# run: chmod +x ./prepare-infra.sh && ./prepare-infra.sh && sleep 5
- name: Test
run: dotnet test --no-restore