-
Notifications
You must be signed in to change notification settings - Fork 69
41 lines (34 loc) · 990 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
40
41
name: .NET Test 🚀
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version:
- 9.0.x
- 8.0.x
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- 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
- name: Integration Tests
shell: pwsh
run: |
dotnet test "./CloudinaryDotNet.IntegrationTests/CloudinaryDotNet.IntegrationTests.csproj" `
--configuration Release `
--no-build