Kenneth Hsu
0c12c35d6a
Upload build artifacts before running tests.
...
This hopefully will make the artifacts available even if the tests fail.
2021-02-20 11:39:24 -08:00
Kenneth Hsu
253b891488
Add step to upload build artifacts.
2021-02-20 10:32:13 -08:00
warwickmm and GitHub
019656133a
Merge pull request #4445 from jfparis/patch-1
...
Update stylesheet to raise stop button above progress bar
2021-02-20 09:12:31 -08:00
Jean-François Paris
8f1fd383e5
Merge https://github.com/duplicati/duplicati into patch-1
2021-02-20 12:08:42 +02:00
Jean-François Paris and Jean-François Paris
5a7f8b6660
Update stylesheet to raise stop button above progress bar
...
Brings the Stop button above the progress bar to allow stopping tasks even when the progres bar is already covering the stop button
2021-02-20 12:02:33 +02:00
Kenneth Hsu
841bcce389
Remove unnecessary Tardigrade libraries from build output.
...
The required libraries are already included in
Duplicati/Library/Backend/Tardigrade and copied to the output directory.
The extra storj_uplink.dll file in the output directory (caused when
releases are built on macOS) was causing spurious
BadImageFormatExceptions.
This fixes #4434 .
2021-02-19 21:39:47 -08:00
Kenneth Hsu and Jean-François Paris
3c1d4b9c37
Revert "Merge pull request #4437 from jfparis/patch-1"
...
This reverts commit ed9e584d5f , reversing
changes made to c47a356d6f .
This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 22:42:20 +02:00
Kenneth Hsu
85c9e43943
Revert "Merge pull request #4437 from jfparis/patch-1"
...
This reverts commit ed9e584d5f , reversing
changes made to c47a356d6f .
This resulted in an unexpected change to the layout in the edit backup
views.
2021-02-19 10:41:51 -08:00
warwickmm and GitHub
ed9e584d5f
Merge pull request #4437 from jfparis/patch-1
...
Prevent progress bar from obscuring stop button.
2021-02-19 09:29:34 -08:00
Jean-François Paris and Jean-François Paris
b23e5f5948
Update stylesheet to raise stop button above progress bar
...
Brings the Stop button above the progress bar to allow stopping tasks even when they are well advanced
2021-02-16 19:20:31 +02:00
Juliano Hubel
8933d6cd2a
#3748|Spelling Correction
2021-02-16 17:10:02 +00:00
Juliano Hubel
6a569b80d2
#3748|Adding_Deprecated_messages_to_old_variables
2021-02-16 10:41:55 +00:00
Juliano Hubel
9047de86e1
#3748_Underscores_insted_of_dashes
2021-02-15 15:53:13 +00:00
Kenneth Hsu
97e7ee82f2
Ask users to check forum when creating new issue.
...
There are many issues or questions that have already been discussed and
solved in the forums.
2021-02-09 16:56:50 -08:00
Kenneth Hsu
94392bf2b7
Remove step to install mono, which is already included.
...
According to the documentation, mono is already included in the
ubuntu-latest virtual environment:
https://github.com/actions/virtual-environments/blob/ubuntu18/20210131.1/images/linux/Ubuntu1804-README.md
2021-02-08 15:47:52 -08:00
Kenneth Hsu
d6e9e08272
Increase tolerance for last write time tests on macOS.
...
There are occasionally times where the difference is greater than 500ms.
1) Failed : Duplicati.UnitTest.BorderTests.Run100k
Restore, creation time mismatch for /Users/runner/duplicati_testdata/backup-data/c-m2 and /Users/runner/duplicati_testdata/restored/c-m2
Expected: 2021-02-08 18:39:04.9202665 +/- 00:00:00.5000000
But was: 2021-02-08 18:39:05.572262
at Duplicati.UnitTest.TestUtils.AssertFilesAreEqual (System.String
expectedFile, System.String actualFile, System.Boolean verifymetadata,
System.String contextMessage) [0x0016f] in
/Users/runner/work/duplicati/duplicati/Duplicati/UnitTest/TestUtils.cs:256
2021-02-08 11:48:05 -08:00
Kenneth Hsu
9a424ecd48
Use product name rather than command name.
2021-02-08 10:19:33 -08:00
Kenneth Hsu
2b647f7a70
Use product name rather than command name.
2021-02-08 09:43:50 -08:00
Kenneth Hsu
6cf4ea6471
Copy missing license files to output directory.
2021-02-07 20:29:09 -08:00
Kenneth Hsu
cb89d50862
Increase tolerance for last write time tests on macOS.
...
There are occasionally times where the difference is greater than 200ms.
1) Failed : Duplicati.UnitTest.BorderTests.Run100k
Restore, creation time mismatch for /Users/runner/duplicati_testdata/backup-data/b-p500 and /Users/runner/duplicati_testdata/restored/b-p500
Expected: 2021-02-08 00:34:08.0221856 +/- 00:00:00.2500000
But was: 2021-02-08 00:34:08.296859
at Duplicati.UnitTest.TestUtils.AssertFilesAreEqual (System.String
expectedFile, System.String actualFile, System.Boolean verifymetadata,
System.String contextMessage) [0x0016f] in
/Users/runner/work/duplicati/duplicati/Duplicati/UnitTest/TestUtils.cs:256
2021-02-07 20:22:23 -08:00
Kenneth Hsu
ddde4c8fd4
Install dependencies before checking out source.
2021-02-07 17:17:12 -08:00
Thomas Suckow
dd399d8f2f
Fedora work
2021-02-07 16:54:36 -08:00
Kenneth Hsu
274783f18b
Use latest version of checkout action.
2021-02-07 16:31:43 -08:00
Kenneth Hsu
bdcb7c829a
Run all tests.
2021-02-07 15:41:29 -08:00
Kenneth Hsu
c6c0c88422
Consolidate Linux and macOS unit test steps.
2021-02-07 15:40:31 -08:00
Kenneth Hsu
50e6855fbc
Merge branch 'fix_test_issues' into github_actions
2021-02-07 15:35:20 -08:00
Kenneth Hsu
16ba9468b7
Revert "Disable AppVeyor and Travis builds."
...
This reverts commit f18b1699a9 .
2021-02-07 14:09:16 -08:00
Kenneth Hsu
1e8752a0cd
Increase tolerance for last write time tests on macOS.
...
There are occasionally times where the difference is greater than 100ms.
2021-02-07 13:59:34 -08:00
Kenneth Hsu
6ec037acc0
Use helper method to determine platform.
...
We should eventually make this method use
RuntimeInformation.IsOSPlatform.
2021-02-07 11:59:20 -08:00
Kenneth Hsu
97c33a0e13
Fix comment style.
2021-02-07 11:58:37 -08:00
Thomas Suckow and Kenneth Hsu
06850697bd
Relax unit test file time checking on osx
2021-02-07 11:58:02 -08:00
Kenneth Hsu
64410b4284
Dispose HttpWebResponse after use.
...
This seems to help avoid "System.Net.WebException : The operation has
timed out." issues when downloading test data.
2021-02-07 11:12:39 -08:00
Kenneth Hsu
2a4f934027
Revert "Run all tests."
...
This reverts commit df20aab8ed .
2021-02-07 09:48:35 -08:00
Kenneth Hsu
df20aab8ed
Run all tests.
2021-02-06 18:42:44 -08:00
Kenneth Hsu
c47ab50892
Revert "Test deliberate test failure."
...
This reverts commit aca2f18634 .
2021-02-06 18:38:48 -08:00
Kenneth Hsu
2cb7268e8a
Rename workflow file.
...
This workflow now contains a job that runs the UI tests as well.
2021-02-06 18:34:54 -08:00
Kenneth Hsu
ea6c89a964
Run tests on macOS.
2021-02-06 18:34:54 -08:00
Kenneth Hsu
a334dcc14f
Add OS to step name.
2021-02-06 17:58:06 -08:00
Kenneth Hsu
701fde0d54
Add job to run selenium UI tests.
2021-02-06 16:47:28 -08:00
Kenneth Hsu
15996ec4ae
Remove unit test result reporter job.
...
Although this displays the test failures more clearly, it doesn't handle
matrix builds that well. The failures aren't really differentiated per
job (Linux vs. Windows), and this also adds a test result reporter job
(successful), as well as a Tests Results job, which fails if a test
fails. This makes the list of jobs that appear next to a commit a bit
messy.
2021-02-06 15:32:34 -08:00
Kenneth Hsu
39ea8f04ab
Define separate job to collect test results from all environments.
2021-02-06 15:06:54 -08:00
Kenneth Hsu
2a8e58ed5e
Use separate steps for unit tests on Linux and Windows.
...
These differ by using mono.
2021-02-06 14:36:57 -08:00
Kenneth Hsu
f911417f1a
Try to consolidate test steps.
2021-02-06 14:26:56 -08:00
Kenneth Hsu
fd54fce809
Save test results in test result folder.
2021-02-06 14:13:04 -08:00
Kenneth Hsu
96cf095818
Use single test result reporter step.
2021-02-06 14:08:08 -08:00
Kenneth Hsu
fbf92f2cd9
Define step to restore NuGet packages.
...
This action will add nuget to your $PATH on all operating systems,
including macOS and linux, without having to prefix it with mono.
2021-02-06 13:56:55 -08:00
Kenneth Hsu
fca76f1b66
Use separate steps for reporting Linux and Windows test results.
2021-02-06 13:39:53 -08:00
Kenneth Hsu
8a96472bf8
Define different steps for Linux and Windows tests.
2021-02-06 13:30:10 -08:00
Kenneth Hsu
1be235a245
Remove ENABLE_GTK compilation symbol.
...
This is only needed for the UI and not needed for command-line tests.
2021-02-06 13:21:46 -08:00
Kenneth Hsu
fb28b14f37
Run tests on Linux and Windows.
2021-02-06 13:15:09 -08:00