-
Notifications
You must be signed in to change notification settings - Fork 22
45 lines (32 loc) · 1.01 KB
/
pull-request.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
37
38
39
40
41
42
43
44
45
# name: Pull Request
# on:
# pull_request:
# branches:
# - test3
# jobs:
# buildAndUnitTest:
# strategy:
# matrix:
# os: [ windows-latest, ubuntu-latest, macos-latest ]
# fail-fast: false
# runs-on: ${{ matrix.os }}
# env:
# SOLUTION_PATH: 'Blockcore.Explorer.sln'
# BUILD_CONFIGURATION: 'Release'
# steps:
# - uses: actions/checkout@v1
# - name: Setup dotnet
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: |
# 6.0.x
# # - name: Setup .NET Core
# # uses: actions/setup-dotnet@v1
# # with:
# # dotnet-version: '3.1.301'
# - name: Restore
# run: dotnet restore ${{env.SOLUTION_PATH}}
# - name: Build
# run: dotnet build -c ${{env.BUILD_CONFIGURATION}} -v m ${{env.SOLUTION_PATH}}
# - name: Unit Test
# run: dotnet test -v=normal --no-build --filter FullyQualifiedName!~IntegrationTests -c ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_PATH}}