32 lines
657 B
YAML
32 lines
657 B
YAML
name: Linux
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, metrics ]
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
branches: [ main, metrics ]
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
build-test:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
version: [netcoreapp3.1,net5.0,net6.0]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- 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"
|