Commit Graph
66 Commits
Author SHA1 Message Date
gpatel-frandGitHub 7f97af85d4 allow Github build from PR (#5103) 2024-02-21 23:18:10 +01:00
JanandGitHub f6440a8e70 Update stale action to v8 (#5036) 2023-09-27 23:44:40 +02:00
gpatel-frandGitHub 84d9918041 add stale issues management (#5013) 2023-08-28 17:11:33 +02:00
gpatel-frandGitHub d0f1498bd4 update version number for artifacts (#4960) 2023-06-04 11:23:11 +02:00
gpatel-frandGitHub 0664916e95 Merge pull request #4933 from gpatel-fr/retrymactestdownload
try to work around problems in downloading test file by retrying
2023-05-17 20:15:10 +02:00
gpatel-fr 7e7aadc10f try to work around problems in downloading test files by retrying
set maximum output for the Linux and Mac tests
2023-05-15 00:29:47 +02:00
gpatel-frandGitHub 619e95d4a6 Merge pull request #4936 from taz-il/update-tests-workflow
Update tests workflow - fix warnings that will soon break the tests
2023-05-15 00:14:14 +02:00
gpatel-fr da7dca6653 add version compatible with build-release script to github build 2023-05-14 21:42:15 +02:00
taz-ilandGitHub ef35b3d186 Update tests.yml
Bump actions/setup-python to v4
2023-05-14 03:20:58 +03:00
taz-ilandGitHub 44c1eb85f3 Update tests.yml
Bump action versions:
microsoft/setup-msbuild to use latest v1
nuget/setup-nuget to use latest v1
actions/checkout to use latest v3 (instead of v2.3.4)
2023-05-14 03:02:43 +03:00
gpatel-fr 8d995fb61d add workflow for building experimental releases 2023-05-04 22:59:35 +02:00
gpatel-fr 52c1222b24 add chrome driver to guitest, updates it and tests. 2023-05-04 10:46:40 +02: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 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