Skip to content

SWI-7167 - Replacing ubuntu-20.04 by ubuntu-24.04 on test-pr workflow #284

SWI-7167 - Replacing ubuntu-20.04 by ubuntu-24.04 on test-pr workflow

SWI-7167 - Replacing ubuntu-20.04 by ubuntu-24.04 on test-pr workflow #284

Workflow file for this run

name: Test
on:
pull_request:
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2019, windows-2022, ubuntu-22.04, ubuntu-24.04 ]
dotnet: [6.0.x, 7.0.x]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Run functional tests
env:
# Required for multiple target frameworks in the StandardTests project.
DOTNET: ${{ matrix.dotnet }}
run: dotnet test Bandwidth.Iris.Tests
- name: Notify Slack of failures
uses: Bandwidth/[email protected]
if: failure() && !github.event.pull_request.draft
with:
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
slack-channel: ${{ secrets.SLACK_CHANNEL }}