We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf8770 commit 5ee4e0fCopy full SHA for 5ee4e0f
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: .NET Core Build with Tests
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ # use ubuntu for more build minutes
12
+ runs-on: ubuntu-latest
13
+ # use release mode for all steps
14
+ env:
15
+ config: 'Debug'
16
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: Setup .NET Core
20
+ uses: actions/setup-dotnet@v2
21
+ with:
22
+ dotnet-version: '8.0.x'
23
24
+ - name: Install dependencies
25
+ run: |
26
+ docker compose -f test-database/docker-compose.yml pull
27
+ cd src
28
+ dotnet restore
29
+ - name: Build
30
31
32
+ dotnet build --configuration $config --no-restore
33
+ - name: Test
34
35
36
+ dotnet test -l "console;verbosity=detailed"
0 commit comments