Commit Graph
43 Commits
Author SHA1 Message Date
Tim Visée 18bb9ddd9e Run unit tests in CI without RocksDB flag (#6675)
* Add temporary job for unit tests on CI without RocksDB feature

* Remove trailing white spaces

* Fix artifact name collision

* Don't upload test report for tests without RocksDB
2025-07-17 13:07:05 +02:00
Arnaud Gourlay debd836b77 Use mold for building tests (#6436) 2025-05-22 22:52:43 +02:00
Roman Titov 5d2ede9719 Rename some GHA jobs, so that default rust-cache keys are unique for all workflows/jobs (#6280) 2025-04-21 00:02:53 +02:00
Arnaud Gourlay 953e09f539 Use cargo --locked on CI for reproducible builds (#5913) 2025-02-11 14:40:17 +01:00
Tim Visée cddbc2bc90 Experiment: enable bindgen-runtime for RocksDB (#5768)
* Enable bindgen-runtime feature for RocksDB

* Test without libclang and llvm on CI
2025-01-16 10:49:49 +01:00
Arnaud Gourlay 7f79b14802 Update rocksdb 0.23.0 (#5765)
* Update Rocksdb 0.23.0

* make it work
2025-01-16 10:49:27 +01:00
Tim Visée e094b618be Re-enable Windows CI (#4461)
This reverts commit c36b4793e0.
2024-06-21 23:34:41 +02:00
xzfc 827338543d Allow failures on Windows CI (#4421) 2024-06-11 13:16:01 +02:00
dependabot[bot] 7463d1ddd7 Bump arduino/setup-protoc from 2 to 3 (#3536)
Bumps [arduino/setup-protoc](https://github.com/arduino/setup-protoc) from 2 to 3.
- [Release notes](https://github.com/arduino/setup-protoc/releases)
- [Commits](https://github.com/arduino/setup-protoc/compare/v2...v3)

---
updated-dependencies:
- dependency-name: arduino/setup-protoc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 16:58:05 +01:00
Arnaud Gourlay ecd62fb0d3 Remove doctest usage (#3475) 2024-03-05 16:55:21 +01:00
Kumar Shivenduandtimvisee 0fe19cfb60 feat: Expose git commit id in the health check endpoint (#3346)
* feat: Expose git commit id in the health check endpoint

* fix: CI errors

* test: Add test for health check api

* feat: Add / endpoint to openapi schema

* Make git commit hash optional

* ci: Enable debugging setup-protoc action

* Install later protobuf compiler through GitHub Action

* Disable debug mode for setup-protoc job

* refactor: Use commit instead of commit_id

* fix: Use commit instead of commit_id gRPC docs

* test: Update ping API test

* refactor: Rename ping api to root api

---------

Co-authored-by: timvisee <tim@visee.me>
2024-03-05 16:46:04 +01:00
dependabot[bot]andArnaud Gourlay 8389b859f3 Bump actions/upload-artifact from 3 to 4 (#3238)
* Bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump download/artifact as well

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>
2024-03-05 16:35:06 +01:00
Arnaud Gourlay 61a3cee2eb Fix cargo test doc (#2856)
* fix cargo test doc

* run doc test on CI

* try re-ordering tests execution to check if it takes less time
2023-12-06 16:45:26 +01:00
Luis Cossío f6f2e8c9c1 CI: improve automatic issue creation (#2706)
* improve automatic issue creation
- restrict to only create automatic issues on PRs of authors of the org, or on dev/main
- modify link to failed job, currently this only applies to the issue reporting job, because it's hard to link them to the actual flaky failure run, but it already improves it.
- reduce retries to only 2. Having 3 tries in total feels more than enough.

* debug author association

* ignore issue updating failure

* cleanup
2023-10-06 12:38:28 +02:00
Luis Cossío 8d46de09bc reference PR in flaky test template. (#2679)
Also separate build and test stages
2023-10-06 12:36:29 +02:00
Luis Cossío 3f17ae112c CI: use nextest for running rust tests (#2085)
* ci: use nextest for running rust tests

- enable retries with exponential backoff
- adjust test_building_cancellation to run sequentially

* run whole suite in partitions

* nextest.toml: remove profile override for specific test, lower amount of retries

* reuse builds in rust tests

* fixup rust.yml

* ditch partitioned run

* [empty commit] trigger ci

* automate flaky test reporting

* remove step name

* rename to Rust tests

* rebase + checkout only the issue template

* specify saving junit report in nextest.toml

* fix xq command, add postprocess for macos, update download and upload actions
2023-10-06 12:36:07 +02:00
Tim Visée 0f73ce76e9 Cargo test --all is deprecated, use --workspace instead (#2664) 2023-10-06 12:35:50 +02:00
dependabot[bot] 45d42c0628 Bump actions/checkout from 3 to 4 (#2579)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 14:31:01 +02:00
dependabot[bot] 03984f0ba6 Bump arduino/setup-protoc from 1 to 2 (#2397)
Bumps [arduino/setup-protoc](https://github.com/arduino/setup-protoc) from 1 to 2.
- [Release notes](https://github.com/arduino/setup-protoc/releases)
- [Commits](https://github.com/arduino/setup-protoc/compare/v1...v2)

---
updated-dependencies:
- dependency-name: arduino/setup-protoc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-10 14:12:08 +02:00
Tim Visée 5e72c9f321 Also run CI tests on macOS (#2227)
* Also test on macOS

* Remove trailing spaces from GitHub Workflow configurations
2023-07-12 15:42:17 +02:00
Kaya Gökalp 1b2e85b180 ci: move from actions-rs to dtolnay/rust-toolchain (#1995) 2023-06-19 14:45:56 +02:00
Andrey Vasnetsovandtimvisee 4e7ace443c enable ci test on all branches (#1810)
* enable ci test on all branches

* rollback push trigger

* Also run workflows on branches having / in name

---------

Co-authored-by: timvisee <tim@visee.me>
2023-05-17 11:20:59 +02:00
Andrey Vasnetsov 06dba27f31 repo-token for protoc 2023-02-07 18:48:46 +01:00
Andrey Vasnetsov 2bcba1de7a Windows support (#1432)
* windows-support

* fmt

* install protoc with action

* upd WAL revision
2023-02-06 15:22:24 +01:00
Arnaud Gourlay f9ffa3c797 update tonic 0.8 & prost 0.11 (#1285)
* update tonic 0.8 & prost 0.11

* install protoc via package manager
2022-12-25 22:47:44 +01:00
dependabot[bot] e40628adcd Bump Swatinem/rust-cache from 1 to 2 (#1232)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 12:16:52 +01:00
Andrey Vasnetsov c9ad035f98 enable CI on dev (#1057)
* enable CI on dev

* update dependabot
2022-09-23 16:02:39 +02:00
Arnaud Gourlay c7396525f9 Switch consensus to a runtime configuration (#565)
* switch consensus to a runtime configuration

* propose_sender is always present

* better toggle switch with ConsensusEnabled
2022-05-06 17:56:00 +02:00
Egor Ivkov d0d1f615f2 Fixes test_alias_operation (#497) 2022-04-20 18:04:51 +03:00
Arnaud Gourlay c09034f6e8 Install protoc to avoid having to recompile it (#452)
* Install protoc to avoid having to recompile it

* cleanup bash script call sites

* move script out of worflows

* cleaner script
2022-04-11 08:37:09 +02:00
Egor Ivkov d3e0d7dcec Integrate consensus into execution pipeline (#410)
* Integrate consensus into execution pipeline

* Review: Remove unnecessary config
2022-03-31 17:54:55 +03:00
dependabot[bot] 7275577102 Bump actions/checkout from 2 to 3 (#390)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-18 12:01:30 +01:00
Ivan Pleshkov 2c4fd0a205 Merge branch 'master' into remove-blas 2022-03-09 15:48:25 +00:00
Arnaud Gourlay 5a9f16ebfd setup github action cache (#320) 2022-02-18 15:09:53 +01:00
Ivan Pleshkov d0cbfe4cb7 remove blas dependency 2022-01-04 17:51:53 +03:00
Andrey Vasnetsov a695f61f9f update test requirements 2021-12-26 20:30:42 +01:00
Konstantin 93e0fb5c2c [CLIPPY] Fix the last portion of rules and enable CI check (#53)
* [CLIPPY] Fixed the warning for references of the user defined types

* [CLIPPY] Fix module naming issue

* [CLIPPY] Fix the last set of warnings and enable clippy check during CI

* Moved cargo fmt and cargo clippy into it's own action
2021-07-03 13:12:21 +02:00
Konstantin a667747369 Applied and enforced rust fmt code formatting tool (#48)
* Apply cargo fmt command

* Enabled cargo fmt on build
2021-06-29 10:17:50 +02:00
Andrey Vasnetsov 20ad71507e fix test script 2021-01-24 17:19:19 +01:00
Andrey Vasnetsov ed7992196b add dependencies installation before tests 2021-01-05 14:23:36 +01:00
Andrey Vasnetsov a89c717396 Update rust.yml 2020-10-28 10:27:40 +01:00
Andrey Vasnetsov 10ee0eb448 Update rust.yml 2020-10-27 23:03:22 +01:00
Andrey Vasnetsov 4789b21d6b Create rust.yml 2020-10-27 22:44:15 +01:00