Commit Graph
137 Commits
Author SHA1 Message Date
Thomas Suckow 6498c32a97 No bashisms 2022-03-02 08:14:00 -08:00
Thomas Suckow d7d9054f36 var tmp 2022-03-02 08:00:26 -08:00
Thomas Suckow 692391bd3e tmp 2022-03-02 07:47:20 -08:00
Thomas Suckow 10a57b9b5f Follow redirects 2022-03-01 21:27:42 -08:00
Thomas Suckow e898ea0745 Download outside vm 2022-03-01 21:10:27 -08:00
Thomas Suckow 2efb2543e1 install wget 2022-03-01 20:38:35 -08:00
Thomas Suckow 29b1b7097c Try freebsd build 2022-03-01 20:26:40 -08:00
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 895ab357a7 Restrict branch in GitHub test workflow. 2021-06-28 10:23:00 -07:00
Kenneth Hsu b400be18da Add GitHub workflow to run tests using .NET 5.
This fixes #4537.
2021-06-28 09:57:29 -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
Thomas Suckow f73d736f54 Add rpm build 2021-04-02 06:52:55 -07:00
Thomas Suckow 90ac3c1cef it already is unzipped 2021-04-02 06:36:33 -07:00
Thomas Suckow 4c6439c507 debugging 2021-04-01 20:31:20 -07:00
Thomas Suckow a7eed0a518 MSI work 2021-04-01 20:31:20 -07:00
Thomas Suckow 400fa2a7d1 MSI environment test 2021-04-01 20:31:19 -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