Add unit test workflow
This commit is contained in:
parent
2df719e536
commit
ad5a311cb7
1 changed files with 20 additions and 0 deletions
20
.github/workflows/build-and-test.yml
vendored
Normal file
20
.github/workflows/build-and-test.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Build and Test
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '7.0.x'
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build
|
||||
- name: Run Unit Tests
|
||||
run: dotnet test --filter Unit --no-restore --verbosity normal
|
Loading…
Reference in a new issue