-
Notifications
You must be signed in to change notification settings - Fork 1.6k
43 lines (35 loc) · 1.21 KB
/
build-azure.yml
File metadata and controls
43 lines (35 loc) · 1.21 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
40
41
42
43
name: Build Azure
on:
push:
paths:
- 'ServiceStack.Azure/**'
- '.github/workflows/build-azure.yml'
permissions:
contents: read
jobs:
build-azure:
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.Azure/build
run: dotnet build ./build.proj
- name: Env setup
run: |
echo "SERVICESTACK_LICENSE=${{ secrets.SERVICESTACK_LICENSE }}" >> $GITHUB_ENV
# Azure tests need mocking.
# - name: Azure Tests
# run: dotnet test --framework net10.0 ./ServiceStack.Azure/tests/ServiceStack.Azure.Tests/ServiceStack.Azure.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: Text Tests
# path: ./ServiceStack.Azure/tests/ServiceStack.Azure.Tests/TestResults/results.trx
# reporter: dotnet-trx
# only-summary: 'true'