Merge pull request #21 from mwarzybok-sumoheavy/feature/SP-692 #44
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: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
push: | |
branches-ignore: | |
- 'master' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ['7.x'] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Unit test | |
run: dotnet test CsharpKioskDemoDotnet.Tests --no-restore --verbosity n | |
- name: Integration test | |
run: dotnet test CsharpKioskDemoDotnet.IntegrationTests --verbosity n |