diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3f7aa98..73d0751 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,6 +3,10 @@ updates: - package-ecosystem: nuget directories: - /OpenSourceToolkit.* + ignore: + # PDFsharp 6.5 changes from MIT to AGPL or a commercial license. + - dependency-name: PDFsharp + versions: ['[6.5.0,)'] schedule: interval: weekly day: monday diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a350e1..3a7bd05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI Build -# Builds pull requests and submits resolved dependencies on pushes and manual runs. +# Builds and tests pull requests and submits resolved dependencies on pushes and manual runs. permissions: contents: read @@ -27,6 +27,9 @@ jobs: - name: Build Solution run: dotnet build OpenSourceToolkit.Net.sln -c Release -p:UseLocalFlowery=false + - name: Test Solution + run: dotnet test OpenSourceToolkit.Net.sln -c Release --no-build --no-restore -p:UseLocalFlowery=false + dependency-submission: needs: build if: github.event_name != 'pull_request'