25 Commits

Author SHA1 Message Date
Andrei Solntsev
3fa50155fc [java] Automatically save screenshots & page sources for failed tests (#16904)
* automatically save screenshot and page source in case of test failure

* show a blank page with a test name before every test

just in case, it might help with debugging of flaky tests.
2026-01-18 00:21:41 +02:00
Titus Fortner
d1c2e2f7df [build] fix shellcheck issues 2026-01-16 19:38:46 -06:00
Titus Fortner
46f7085e26 [build] fix workflow input variables 2026-01-16 18:15:10 -06:00
Titus Fortner
f2002fcf3a [dotnet][java][py][rb][rust] Only use External Cache for GitHub Actions (#16788)
* disable repository and directory cache

* cache ruby windows, do not cache pin browsers
2025-12-29 09:20:33 -06:00
Boni García
59ef15e800 [ci] Use macos-latest instead of macos-13 in Rust workflow (#16803) 2025-12-28 18:08:32 +01:00
Titus Fortner
4c64df2cde [build] fix issue trying to guard actions run on forks (#16800)
* [build] fix issue trying to guard actions run on forks
2025-12-27 13:05:43 -06:00
Titus Fortner
973dbe6567 [build] add explicit permissions to github workflows (#16774)
* RBE needs to read packages
2025-12-23 11:25:30 -06:00
Navin Chandra
0c17ff17f1 [ci]: remove concurrency checks in child workflows (#16633) 2025-11-25 13:36:41 +05:30
Navin Chandra
470e6fd09d [ci]: cancel previous CI run in case of new commit/push (#16624) 2025-11-24 11:28:50 +05:30
Boni Garcia
71321af35d [rust] Enable verbose backtrace when running tests in CI 2024-06-11 18:55:44 +02:00
Boni Garcia
eed125dfa5 [rust] Display logs when running tests in CI 2024-06-11 18:38:32 +02:00
Diego Molina
fd56c3a230 Using macos-13 for now until we adapt to macos-latest 2024-05-15 08:09:38 -07:00
Diego Molina
507970233b [build] Bumping actions versions 2024-03-27 22:46:08 +01:00
Boni Garcia
60aa5676f6 [rust] Remove cross command in CI build for Linux 2024-02-07 15:11:44 +01:00
Titus Fortner
036b61371a [ci] Create pre-release workflow (#13513)
[ci] create pre-release workflow
2024-01-26 21:59:14 -06:00
Titus Fortner
e7bd6c4b59 [ci] upgrade upload and download actions to v4 (#13516) 2024-01-26 16:20:39 -05:00
titusfortner
d035b5d197 [build] only release new Selenium Manager binaries from trunk 2024-01-20 12:21:31 -06:00
titusfortner
0972a1bb04 [ci] restrict jobs from running on forks 2024-01-20 09:39:49 -06:00
titusfortner
7922d42b0c [build] pass auth from calling workflow to the called workflow to release Selenium Manager artifacts 2023-12-28 10:41:58 -05:00
Titus Fortner
64755fa82c [build] Reference Selenium Manager Binaries from separate repo (#13314)
* [ci] upload Selenium Manager binaries to a repo after passing tests

* [build] create script to pin selenium manager versions

* [build] download pinned selenium manager versions instead of storing in repo
2023-12-26 16:56:00 -05:00
Boni Garcia
889df2d151 [rust] Increase log level to trace in some tests 2023-08-09 02:25:08 +02:00
Boni Garcia
e5c8b61df1 [ci] Set rust backtrace to full 2023-08-09 02:07:22 +02:00
Alex Rodionov
2b3ad21fe9 Use Bazel for running Rust tests (#11852)
* Use Bazel for running Rust tests

* Add Rust build/test targets to README.md

[skip ci]

* Crate tests should be unsandboxed

---------

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Boni García <boni.garcia@uc3m.es>
2023-04-17 11:51:32 +02:00
Alex Rodionov
36c788c465 Overhaul CI in GitHub Actions [dotnet][java][js][py][rb][rust]
This commit introduces few major changes to the Selenium CI, overhauling
the current implementation to make it a bit more usable and maintainable.

1. Introduces high-level orchestrating "CI" workflow that is run on
   every push to the main branch, every 12 hours, every pull request,
   and manually. This workflow checks which bindings are affected by the
   pushed changes and calls individual CI workflows, presenting all of
   the results on a single page -
   https://github.com/SeleniumHQ/selenium/actions/workflows/ci.yml.
2. Reworks every "CI - <Bindings>" workflow to be callable from other
   workflows or run manually. The former is important for the "CI" workflow,
   the latter is matter of convenience so that individual bindings CI
   workflow can be run.
3. Individual bindings CI workflow are also implemented in a similar
   manner with the following pipeline:
     Build -> Documentation / Lint / Unit Tests -> Integration Tests
   This allows to better balance the load across the CI runners queue,
   preventing an immediate burst of queued runs.
4. Almost every CI pipeline step is implemented via a callable
   bazel.yml workflow. It is responsible for setting up the whole
   environment (browsers, Bazel caches) and greatly simplifies the
   individual bindings workflow. The only exceptions not using it are
   few JavaScript/Python tasks not migrated to Bazel and Rust pipeline.
6. Removes unnecessary installation of JDK because it's already taken
   care of by Bazel.
7. Allows to start interacting SSH session inside CI upon failure. This
   can be done by re-running a failed build with "Enable debug logging"
   on.
8. Allows to force-run CI on pull requests if the title includes
   [<bindings>] text. We could also fetch commits on this PR, but it
   needs extra code and can be done later.
2023-01-13 09:37:00 -08:00
Boni García
b5b25eb3e2 [rust] Execute Rust tests in CI (#11541)
* [rust] Execute Rust tests in CI

* [rust] Remove trunk branchs

* [rust] Add workflow_dispatch for manual trigger
2023-01-12 15:47:46 +01:00