Skip to content

Merge pull request #28 from MrDave1999/sample/add-tests #36

Merge pull request #28 from MrDave1999/sample/add-tests

Merge pull request #28 from MrDave1999/sample/add-tests #36

Workflow file for this run

name: CPlugin.Net
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
dotnet-version: ['8.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Test
run: |
dotnet test ./tests/CPlugin.Net/CPlugin.Net.Tests.csproj
dotnet build ./samples/Plugins/AppointmentPlugin/Example.AppointmentPlugin.csproj
dotnet build ./samples/Plugins/PersonPlugin/Example.PersonPlugin.csproj
dotnet build ./samples/Plugins/JsonPlugin/Example.JsonPlugin.csproj
dotnet build ./samples/Plugins/OldJsonPlugin/Example.OldJsonPlugin.csproj
dotnet test ./samples/Test/Example.Test.csproj