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 8870b41 commit 0df35d5Copy full SHA for 0df35d5
.github/workflows/run-tests.yml
@@ -0,0 +1,31 @@
1
+name: Run Tests on Push to Testing Branch
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - testing # Runs only when code is pushed to the 'testing' branch
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup .NET
17
+ uses: actions/setup-dotnet@v3
18
+ with:
19
+ dotnet-version: '9.0.x'
20
21
+ - name: Restore Dependencies
22
+ run: dotnet restore
23
24
+ - name: Copy Environment Variables
25
+ run: cp .env.example .env
26
27
+ - name: Build Project
28
+ run: dotnet build --configuration Debug --no-restore
29
30
+ - name: Run Tests
31
+ run: dotnet test --logger trx --results-directory TestResults
0 commit comments