-
Notifications
You must be signed in to change notification settings - Fork 1.6k
39 lines (31 loc) · 1.16 KB
/
build-stripe.yml
File metadata and controls
39 lines (31 loc) · 1.16 KB
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: Build Stripe
on:
push:
paths:
- 'ServiceStack.Stripe/**'
- '.github/workflows/build-stripe.yml'
jobs:
build-stripe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd #v5
- name: Setup dotnet
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Build
working-directory: ServiceStack.Stripe/build
run: dotnet build ./build.proj
- name: Env setup
run: |
echo "SERVICESTACK_LICENSE=${{ secrets.SERVICESTACK_LICENSE }}" >> $GITHUB_ENV
- name: Stripe Tests
run: dotnet test --framework net10.0 ./ServiceStack.Stripe/tests/ServiceStack.Stripe.Tests/ServiceStack.Stripe.Tests.csproj --logger 'trx;LogFileName=results.trx'
- name: Test Report
uses: dorny/test-reporter@v1
if: (success() || failure()) && steps.test_integration.outcome != 'skipped'
with:
name: Stripe Tests
path: ./ServiceStack.Stripe/tests/ServiceStack.Stripe.Tests/TestResults/results.trx
reporter: dotnet-trx
only-summary: 'true'