Merge pull request #172 from marcotod1410/disable-assertion-in-win-build #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |