forked from udap-tools/udap-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1.13 KB
/
develop.yml
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
name: Develop GPR
on:
push:
branches: [ "develop" ]
env:
REPOSITORY_URL: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
source-url: ${{ env.REPOSITORY_URL }}
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Generate PKI
run: dotnet test -c Release _tests/Udap.PKI.Generator/Udap.PKI.Generator.csproj
- name: Build and Restore dependencies
run: dotnet build -c Release Udap.sln
- name: Test Udap.Common.Tests
run: dotnet test -c Release _tests/Udap.Common.Tests/Udap.Common.Tests.csproj --no-build --verbosity normal
- name: Test UdapMetadata.Tests
run: dotnet test -c Release _tests/UdapMetadata.Tests/UdapMetadata.Tests.csproj --no-build --verbosity normal
- name: Test UdapServer.Tests
run: dotnet test -c Release _tests/UdapServer.Tests/UdapServer.Tests.csproj --no-build --verbosity normal