Commit Graph
156 Commits
Author SHA1 Message Date
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 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 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
Kenneth Hsu b9e16cb136 Fix step name.
Apparently, the name cannot reference environment variables.
2021-02-06 13:12:22 -08:00
Kenneth Hsu 1af3dea72a Change step name. 2021-02-06 12:59:25 -08:00
Kenneth Hsu 4c3e6079fd Add report title to test result reporter. 2021-02-06 12:59:02 -08:00
Kenneth Hsu 5fe8354c78 Use latest nunit test reporter. 2021-02-06 12:57:26 -08:00
Kenneth Hsu 8aa08fbc6a Remove unnecessary build steps.
These are not needed to run the tests.
2021-02-06 12:44:09 -08:00
Kenneth Hsu a352b34ab5 Revert "Try different test result reporter."
This reverts commit 7aa4890cfd.

Although this is advertised to support NUnit, it doesn't appear to
support NUnit format XML test result files.
2021-02-06 12:36:47 -08:00
Kenneth Hsu 7aa4890cfd Try different test result reporter. 2021-02-06 12:26:01 -08:00
Kenneth Hsu 3eb8e54a21 Add step to publish unit test results. 2021-02-06 11:44:02 -08:00
Kenneth Hsu e4ea017a8c Add workflow name. 2021-02-06 11:26:07 -08:00
Kenneth Hsu 4bec3dc381 Add step to run Utility unit tests. 2021-02-06 11:19:33 -08:00
Kenneth Hsu 1608154514 Skip build of DependencyFinder.
This fails with the following error:

Program.cs(42,36): error CS1503: Argument 1: cannot convert from 'string' to 'Mono.Cecil.AssemblyNameReference' [/home/runner/work/duplicati/duplicati/BuildTools/DependencyFinder/DependencyFinder.csproj]
2021-02-06 11:07:36 -08:00
Kenneth Hsu fc249b9df3 Add steps to build projects and solutions. 2021-02-06 11:05:26 -08:00
Kenneth Hsu fcb3290afa Add step to restore NuGet packages. 2021-02-06 10:53:41 -08:00
Kenneth Hsu 24d1794f28 Add step to checkout code. 2021-02-06 10:44:06 -08:00
Kenneth Hsu dde093a332 Fix spelling. 2021-02-06 10:40:13 -08:00
Kenneth Hsu 027cccb817 Run apt-get as root. 2021-02-06 10:38:16 -08:00
Kenneth Hsu cde257cc4e Add initial unit test workflow definition.
This simply attempts to install mono on ubuntu-latest.
2021-02-06 10:30:45 -08:00
Thomas Suckow 3056824ff1 Artifact naming 2021-01-17 10:19:42 -08:00
Thomas Suckow bb0a6e8a12 Get debian packages building (untested) 2021-01-16 16:13:00 -08:00
Thomas Suckow cda1e2e09a Remove old build scripts 2021-01-08 08:16:30 -08:00
Thomas Suckow 32c3eb3a0e Selenium Docker Actions 2021-01-07 21:43:58 -08:00
Thomas Suckow 14dbd73da2 Typo 2021-01-06 07:50:59 -08:00
Thomas Suckow 51288b85ed Test assumptiions about docker on github actions 2021-01-06 07:38:24 -08:00
Thomas Suckow aa05b6bead Try to get selenium working and make the artifacts be release builds 2021-01-04 21:07:03 -08:00
Thomas Suckow dd883b8937 Fix some naming 2021-01-04 19:59:33 -08:00
Thomas Suckow 8e7f55d863 Try splitting workflow to get artifacts sooner 2021-01-04 19:52:39 -08:00
Thomas Suckow 25217a93c1 CI script updates 2021-01-04 19:42:48 -08:00
Thomas Suckow 48f7110c0b fix publishing maybe 2021-01-04 07:35:30 -08:00
Thomas Suckow 733fd712d2 Fix restore not including the runtime 2021-01-03 19:49:35 -08:00
Thomas Suckow 7400e20ff0 Try object syntax 2021-01-03 16:42:57 -08:00