32 lines
666 B
YAML
32 lines
666 B
YAML
name: Windows
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, metrics ]
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
branches: [ main, metrics ]
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: windows-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
version: [net461,netcoreapp3.1,net5.0,net6.0]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install dependencies
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
|
run: dotnet build --configuration Release --no-restore
|
|
|
|
- name: Test ${{ matrix.version }}
|
|
run: dotnet test **\bin\**\${{ matrix.version }}\*Tests.dll --configuration Release --no-build --logger:"console;verbosity=detailed"
|