Commit Graph
227 Commits
Author SHA1 Message Date
JamBalaya56562andClaude Opus 4.8 7e31cd5cba Update GitHub Actions to current major versions
Bumps the CI actions to their latest majors to clear the recurring "Node.js 20
is deprecated" warnings (the pinned actions bundled Node 20, which GitHub is
retiring on runners):

- actions/checkout       v4 -> v7
- actions/setup-dotnet   v4 -> v5
- actions/upload-artifact v4 -> v7
- actions/setup-node     v4 -> v6
- actions/stale          v9 -> v10

atomicjar/testcontainers-cloud-setup-action is already on the latest major (v1).

Only the action version tags change. All bumped majors run on Node.js 24 and
require Actions Runner >= v2.327.1, which the GitHub-hosted runners used here
always satisfy. checkout v7's fork-PR checkout block only applies to
pull_request_target/workflow_run (not used here), and setup-node's auto-cache
only triggers with a packageManager field in package.json (not present), so
behavior is unchanged. Validated with actionlint.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 06:47:01 +09:00
Kenneth Skovhede b748e75e91 Remove iDrivee2 from tests
No longer as a free tier for testing.
2026-06-27 16:48:10 +02:00
Kenneth Skovhede 06ce6859e5 More codecov removal 2026-06-21 14:00:42 +02:00
Kenneth Skovhede 441d9770b7 Removing codecov as it was creating noise 2026-06-21 11:43:37 +02:00
Kenneth Skovhede 736df8173b Bump ngclient to 225
This updates ngclient to 225, and also adds `--duplicati-webservice-suppress-welcome-page` to automatically disable the welcome page that is shown on new installs.
2026-06-04 20:09:04 +02:00
Kenneth Skovhede 27eca5b0b6 Fix Filen backend tests in CI 2026-05-13 06:53:08 +02:00
Kenneth Skovhede 2e3e301fda Added CI testing for Drime 2026-05-08 10:35:35 +02:00
Kenneth Skovhede ab487bdde2 Optimize synthetic filelist creation
This PR adds a test that generates a synthentic filelist of a variable size, and then measures the time it takes to recreate the fileset.

As there was a reported slowdown, analysis indicated that the query would grow in the order of O=N^2, where N is the number of paths.

The code is then updated to instead use some temporary on-disk space to lay out the paths and then insert them as a new fileset. This should bring the time down to O=N.

Based on a test with 10k files, the query speed up is ~900x, but will be more on larger filesets.
2026-05-06 15:16:10 +02:00
Kenneth Skovhede b7592b64fa Reduce AES iterations for tests as they are otherwise slowed down significantly due to low-power CI tools. 2026-05-04 11:53:42 +02:00
Carl Johnsen b4beb6209e Updated the disk image tests to not test every combination of file system and partition table type on the CI. 2026-03-11 14:26:58 +00:00
Kenneth SkovhedeandGitHub 85f323b2a1 Merge pull request #6668 from duplicati/feature/add-sftp-tests
Added SFTP tests to live backend tests
2025-12-05 15:24:03 +01:00
Kenneth SkovhedeandGitHub 179fd4da47 Merge pull request #6653 from duplicati/feature/secret-provider-write-support
Initial implementation of write-support for SecretProviders
2025-12-05 15:23:32 +01:00
Kenneth Skovhede 4e8569b0eb Added SFTP tests to live backend tests 2025-12-04 19:48:44 +01:00
Kenneth Skovhede 2f9c5cfb47 Fixed an issue with playwright commandline args for the server 2025-12-03 11:35:54 +01:00
Kenneth Skovhede 4f1f254a2e Fixed some configuration issues and added HC vault testing 2025-12-03 10:44:02 +01:00
Kenneth Skovhede 008553e3fe Direct target of tests 2025-12-02 21:10:44 +01:00
Kenneth Skovhede e2f6b842e1 Fixed secret provider tests not actually running 2025-12-02 10:50:09 +01:00
Kenneth Skovhede 263ad400a7 Upload coverage reports even if tests fail 2025-12-02 10:39:16 +01:00
Kenneth Skovhede c73f1880ba Fixed some code coverage, and prevented regular unittests from running the secret provider tests 2025-12-02 09:53:37 +01:00
Kenneth Skovhede c670d74ff9 Updated tests to only pass in a single URL.
Updated tests to clean up after running
2025-12-01 09:24:57 +01:00
Kenneth Skovhede 6d9826df06 Initial implementation of write-support for SecretProviders
This updates the MacOS secret provider to use PInvoke for a more stable API than the secrets tool that was used before.
2025-11-30 23:01:57 +01:00
Kenneth Skovhede 186d386865 Fixed version number for FTP backend tests 2025-11-14 16:33:50 +01:00
Kenneth Skovhede ae3b2416cb Bumped versions in tests 2025-11-14 16:17:06 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth SkovhedeandGitHub eda4f70575 Merge pull request #6599 from duplicati/feature/add-playwright-tests
Initial version of a PlayWright test using ngclient
2025-11-11 10:51:41 +01:00
Kenneth Skovhede 51ffc47dc6 Added tracing to debug failure 2025-11-10 19:50:32 +01:00
Kenneth SkovhedeandGitHub 9243088151 Merge pull request #6608 from duplicati/feature/add-test-coverage
Record test coverage
2025-11-10 19:44:26 +01:00
Kenneth Skovhede f4557b58e2 Pin codecov version to 5.5.1 2025-11-10 13:05:22 +01:00
Kenneth Skovhede b0b566d31b Removed report artefact uploads 2025-11-10 12:59:22 +01:00
Kenneth Skovhede 7b6d0af9b0 Revert to single-line to work on Windows as well 2025-11-10 12:58:41 +01:00
Kenneth Skovhede 5415003432 Point specifically to the coverage files 2025-11-10 12:40:09 +01:00
Kenneth Skovhede e308d8a93f Testing out codecov 2025-11-10 12:36:00 +01:00
Kenneth Skovhede 74b310c8c5 More readable config 2025-11-07 14:45:50 +01:00
Kenneth Skovhede 6dd873ee79 Disable Filejump until it has migrated 2025-11-06 13:38:14 +01:00
Kenneth Skovhede 1d0b71fb17 Record test coverage 2025-11-05 10:38:28 +01:00
Kenneth Skovhede 67bb156243 Build in debug mode to preserve auto-load features 2025-11-04 22:19:17 +01:00
Kenneth Skovhede 193c095f9e Ensure ngclient is loaded 2025-11-04 21:48:06 +01:00
Kenneth SkovhedeandGitHub cada0e30a9 Merge branch 'master' into feature/add-playwright-tests 2025-11-04 21:40:24 +01:00
Kenneth Skovhede 79b70b89b4 Preload ngclient before testing 2025-11-04 21:36:39 +01:00
Kenneth Skovhede 236f374a6c Log failures 2025-11-04 21:35:15 +01:00
Kenneth SkovhedeandGitHub b6079f5d8a Merge pull request #6598 from duplicati/feature/add-integration-tests
Added new integration tests on the API level
2025-11-04 21:30:28 +01:00
Kenneth Skovhede 167524f292 Style fixes 2025-11-04 20:36:16 +01:00
Kenneth Skovhede 38e07c7d6c Removed stale github action 2025-11-04 14:48:44 +01:00
Kenneth Skovhede 56fbc3d826 Added explicit permissions on CI tasks 2025-11-04 13:54:49 +01:00
Kenneth Skovhede 2a0032ec12 Explicti disable permissions 2025-11-04 13:54:06 +01:00
Kenneth SkovhedeGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
fd9b033a08 Potential fix for code scanning alert no. 315: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-04 13:49:16 +01:00
Kenneth Skovhede 7b1c1db0ee Merged tests into a single yml file 2025-11-04 13:48:49 +01:00
Kenneth SkovhedeGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
c7a57eae03 Potential fix for code scanning alert no. 314: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-04 13:44:48 +01:00
Kenneth Skovhede a9954049ea Initial version of a PlayWright test using ngclient 2025-11-04 13:43:00 +01:00
Kenneth Skovhede 5ca015e14d Added new integration tests on the API level 2025-11-04 10:50:22 +01:00