Skip to content

Commit 8acc3c6

Browse files
committed
Update build and test workflow
1 parent 9c89714 commit 8acc3c6

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
env:
14+
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
15+
SUPABASE_SERVICE_KEY: ${{ secrets.SUPABASE_SERVICE_KEY }}
16+
SUPABASE_PUBLIC_KEY: ${{ secrets.SUPABASE_PUBLIC_KEY }}
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
dotnet-version: 8.x
25+
26+
- name: Restore dependencies
27+
run: dotnet restore
28+
29+
- name: Build
30+
run: dotnet build --configuration Release --no-restore
31+
32+
- name: Initialize Testing Stack
33+
run: docker-compose up -d
34+
35+
- name: Test
36+
run: dotnet test --no-restore

.github/workflows/dotnet-core.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)