Skip to content

Remove consideration for _GoBack bookmark #40

Remove consideration for _GoBack bookmark

Remove consideration for _GoBack bookmark #40

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: 'dotnet.yml'
on:
push:
branches: [ "dev" ]
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
branches: [ "dev" ]
jobs:
net8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --framework net8.0 --configuration Release --no-build --verbosity normal
net462:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Framework
uses: microsoft/setup-msbuild@v2
- name: Build
run: msbuild test/HtmlToOpenXml.Tests/HtmlToOpenXml.Tests.csproj /p:Configuration=Release /p:TargetFramework=net462 /restore
- name: Setup VSTest
uses: darenm/[email protected]
- name: Run tests (NET Framework)
run: vstest.console.exe test\HtmlToOpenXml.Tests\bin\Release\net462\HtmlToOpenXml.Tests.dll /parallel