Kenneth Hsu
5cb6ad8ee0
Simplify workflow trigger.
...
Also, a single '*' matches zero or more characters, but does not match
the '/' character, so this is less restrictive.
2021-07-01 09:43:14 -07:00
Kenneth Hsu
a69599c37c
Use title case for job steps for consistency.
2021-05-03 14:03:20 -07:00
Kenneth Hsu
e435622ca6
Install gtk-sharp2 package for tests run on ubuntu-latest.
...
This seems to have been previously included when the job ran on Ubuntu
18.04.5. Now that it has been upgraded to Ubuntu 20.04.2, the gtk-sharp
libraries appear to be missing.
2021-05-03 12:06:45 -07:00
Kenneth Hsu
b785cfb50e
Restore NuGet packages in separate step.
...
This more closely mirrors the steps in the unit_tests job.
2021-05-03 12:01:08 -07:00
Kenneth Hsu
54cd890879
Remove artifacts from GitHub test workflow.
...
The proper way to create a usable package is to call
UpdateManager.CreateUpdatePackage and define all the required
parameters. Given that there isn't high demand for such an artifact, we
will simply avoid it for now.
2021-03-06 15:11:18 -08:00
Kenneth Hsu
b765841dca
Add missing semicolons.
2021-03-01 08:59:58 -08:00
Kenneth Hsu
a9920e7be3
Define environment variable to represent build output directory.
2021-03-01 08:29:50 -08:00
Kenneth Hsu
5a1daabccc
Include additional libraries in build artifacts.
...
This mimics the steps performed in build-release.sh. We should later
consolidate all these operations to unify the build/release process.
2021-03-01 08:19:00 -08:00
Kenneth Hsu
2fc8b62a56
Create step to prepare artifacts before upload.
2021-03-01 07:52:34 -08:00
Kenneth Hsu
2d50ad52fe
Move NuGet restore to separate step.
2021-03-01 07:50:44 -08:00
Kenneth Hsu
fb90b70c34
Use TrayIcon project assemblies as build artifacts
...
This will hopefully make it so that someone can start up the server
using the build artifacts.
2021-02-26 13:03:23 -08:00
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
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
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
ddde4c8fd4
Install dependencies before checking out source.
2021-02-07 17:17:12 -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
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