Skip to content

Update dependency Verify.Xunit to 31.9.3 #1885

Update dependency Verify.Xunit to 31.9.3

Update dependency Verify.Xunit to 31.9.3 #1885

Workflow file for this run

name: Unit tests
# Workflow Trigger
on:
# Trigger the workflow on a pull request to any branch, ignoring changes to /docs
pull_request:
paths-ignore:
- 'docs/**'
# Trigger the workflow on pushes to the master branch, ignoring changes to /docs
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
Test:
name: Run unit tests
strategy:
fail-fast: false
matrix:
os: [
windows-2022, windows-2025,
ubuntu-22.04, ubuntu-24.04
# Cake.Recipe currently does not support macOS 14 or 15 (M1)
]
runs-on: ${{ matrix.os }}
steps:
- name: Get the sources
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Install .NET
uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602 # v5.0.1
with:
# .NET 5 required for GitVersion
# .NET 7 required for Cake.Recipe
dotnet-version: |
5.x
7.x
8.x
9.x
10.x
# Ubuntu 24.04 does not have Mono installed, which is Required for Cake.Recipe
- name: Install Mono
if: ${{ matrix.os == 'ubuntu-24.04' }}
run: sudo apt-get install mono-complete
- name: Test
run: ./build.sh --target=Test
shell: bash