2022-07-11 17:04:04 +02:00
|
|
|
name: Run tests on push
|
2022-05-31 20:49:38 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Test EDNA
|
2022-05-31 20:59:23 +02:00
|
|
|
runs-on: windows-latest
|
2022-05-31 20:49:38 +02:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout source code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup .Net
|
|
|
|
uses: actions/setup-dotnet@v2
|
|
|
|
with:
|
|
|
|
dotnet-version: '6.0.x'
|
|
|
|
|
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: dotnet build -c release
|
|
|
|
|
|
|
|
- name: Run tests
|
|
|
|
run: dotnet test
|