Merge pull request #6598 from duplicati/feature/add-integration-tests

Added new integration tests on the API level
This commit is contained in:
Kenneth Skovhede
2025-11-04 21:30:28 +01:00
committed by GitHub
2 changed files with 463 additions and 1 deletions
+31 -1
View File
@@ -1,4 +1,8 @@
name: Tests
permissions:
contents: read
issues: none
pull-requests: none
on: [pull_request, workflow_dispatch]
@@ -27,7 +31,33 @@ jobs:
run: dotnet build --no-restore Duplicati.sln
- name: Run unit tests
run: dotnet test --no-build --verbosity minimal Duplicati.sln
run: dotnet test --no-build --verbosity minimal --filter "Category!=Integration" Duplicati.sln
integration_tests:
name: Integration tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
- name: Checkout source
uses: actions/checkout@v4
- name: Restore NuGet dependencies
run: dotnet restore Duplicati.sln
- name: Build Duplicati
run: dotnet build --no-restore Duplicati.sln
- name: Run integration tests
run: dotnet test --no-build --verbosity minimal --filter "Category=Integration" Duplicati.sln
# Disabled, as a new test needs to be written for the new UI
# selenium: