Skip to content

Merge pull request #172 from marcotod1410/disable-assertion-in-win-build #91

Merge pull request #172 from marcotod1410/disable-assertion-in-win-build

Merge pull request #172 from marcotod1410/disable-assertion-in-win-build #91

name: .NET Core Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Lightning.NET
uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Install dependencies
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet restore
- name: Build
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet build --no-restore
- name: Test
working-directory: ${{ runner.workspace }}/Lightning.NET
run: dotnet test --no-build --no-restore --verbosity normal