-
Notifications
You must be signed in to change notification settings - Fork 69
39 lines (31 loc) · 944 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: .NET Test 🚀
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore Dependencies
run: dotnet restore
- name: Before Build
shell: pwsh
run: ./before_build.ps1
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Unit Tests
shell: pwsh
run: |
dotnet test "./CloudinaryDotNet.Tests/CloudinaryDotNet.Tests.csproj" `
--configuration Release `
--no-build `
--logger:"trx"
- name: Integration Tests
shell: pwsh
run: |
dotnet test "./CloudinaryDotNet.IntegrationTests/CloudinaryDotNet.IntegrationTests.csproj" `
--configuration Release `
--no-build `
--logger:"trx"