Skip to content

Merge pull request #772 from manfred-brands/Issue770_TestContext.Write #419

Merge pull request #772 from manfred-brands/Issue770_TestContext.Write

Merge pull request #772 from manfred-brands/Issue770_TestContext.Write #419

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
linting:
name: "Markdown linting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out the code
- uses: actions/setup-node@v4
name: Setup node
with:
node-version: "18"
- run: npm install -g markdownlint-cli2
name: Install markdownlint-cli2
- run: markdownlint-cli2 --config ".github/linters/.markdownlint.yml" "documentation/*.md"
name: run Markdownlint
spellcheck:
name: "Spell check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out the code
- uses: actions/setup-node@v4
name: Setup node
with:
node-version: "18"
- run: npm install -g cspell
name: Install cSpell
- run: cspell --config ./cSpell.json "documentation/*.md" --no-progress
name: run cSpell
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: Setup .NET
uses: actions/setup-dotnet@main
with:
global-json-file: ./global.json
- name: dotnet test (NUnit4)
run: dotnet test --configuration=Release -p:NUnitVersion=4 ./src/nunit.analyzers.tests/
- name: dotnet test (NUnit3)
run: dotnet test --configuration=Release -p:NUnitVersion=3 ./src/nunit.analyzers.tests/