forked from ScottPlot/ScottPlot
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 955 Bytes
/
pr1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This workflow is used for quickly evaluating whether PRs are ready to merge.
# It checks for basic compile errors and ensures tests pass.
name: PR1
on:
workflow_dispatch:
pull_request:
jobs:
quick:
name: Quick Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Build
run: bash .github/workflows/scripts/check-build.sh
- name: ScottPlot5 Unit Tests
run: dotnet test "src/ScottPlot5/ScottPlot5 Tests/Unit Tests/ScottPlot Unit Tests.csproj" --configuration Release --verbosity minimal
- name: ScottPlot5 Cookbook
run: dotnet test "src/ScottPlot5/ScottPlot5 Cookbook/ScottPlot Cookbook.csproj" --configuration Release --verbosity minimal
- name: ScottPlot5 Tests
run: dotnet test "src/ScottPlot4/ScottPlot/ScottPlot.csproj" --configuration Release --verbosity minimal