Merge pull request #9 from loanmarket/chore/TECH-30764-create-testabl… #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: { branches: [ master ] } | |
pull_request: { branches: [ master ] } | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-dotnet@v1 | |
- name: Restore Samples | |
run: dotnet restore ./samples/MyCRM.Lodgement.Sample.sln | |
- name: Build Samples | |
run: dotnet build --configuration Release --no-restore ./samples/MyCRM.Lodgement.Sample.sln | |
- name: Test Samples | |
run: dotnet test --no-restore --verbosity normal ./samples/MyCRM.Lodgement.Sample.Tests/MyCRM.Lodgement.Sample.Tests.csproj |