Skip to content

Commit dcfc2ab

Browse files
Migrate to GitHub actions
1 parent be0d317 commit dcfc2ab

File tree

2 files changed

+38
-117
lines changed

2 files changed

+38
-117
lines changed

.github/workflows/test.yaml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: .NET Test 🚀
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: windows-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-dotnet@v4
12+
with:
13+
dotnet-version: '9.0.x'
14+
cache: true
15+
16+
- name: Restore Dependencies
17+
run: dotnet restore
18+
19+
- name: Before Build
20+
shell: pwsh
21+
run: ./before_build.ps1
22+
23+
- name: Build
24+
run: dotnet build --configuration Release --no-restore
25+
26+
- name: Unit Tests
27+
run: |
28+
dotnet test "./CloudinaryDotNet.Tests/CloudinaryDotNet.Tests.csproj" \
29+
--configuration Release \
30+
--no-build \
31+
--logger:"trx"
32+
33+
- name: Integration Tests
34+
run: |
35+
dotnet test "./CloudinaryDotNet.IntegrationTests/CloudinaryDotNet.IntegrationTests.csproj" \
36+
--configuration Release \
37+
--no-build \
38+
--logger:"trx"

appveyor.yml

-117
This file was deleted.

0 commit comments

Comments
 (0)