forked from ServiceStack/ServiceStack
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.28 KB
/
Copy pathbuild-logging.yml
File metadata and controls
44 lines (35 loc) · 1.28 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
44
name: Build Logging
on:
push:
paths:
- 'ServiceStack.Logging/**'
- '.github/workflows/build-logging.yml'
permissions:
contents: read
jobs:
build-logging:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0'
include-prerelease: true
- name: Build
working-directory: ServiceStack.Logging/build
run: dotnet build ./build.proj
- name: Env setup
run: |
echo "SERVICESTACK_LICENSE=${{ secrets.SERVICESTACK_LICENSE }}" >> $GITHUB_ENV
# net472 only package, need to upgrade if possible to run tests or use different runner.
# - name: Logging Tests
# run: dotnet test --framework net6.0 ./ServiceStack.Logging/tests/ServiceStack.Logging.Tests/ServiceStack.Logging.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.Logging/tests/ServiceStack.Logging.Tests/TestResults/results.trx
# reporter: dotnet-trx
# only-summary: 'true'