Commit Graph

20 Commits

Author SHA1 Message Date
Michael Angerman
7255741290
remove codecov.yml in the reedline repo (#710)
* remove codecov.yml

* remove uploading code coverage in the ci.yml

* add back in codecov.yml and see if just removing the action in the ci.yml works
2024-01-20 19:08:49 -08:00
Hofer-Julian
63c43a9a6b
Also run clippy on examples (#666)
* Also run clippy on examples

This PR also fixes existing clippy lints

* Update .github/workflows/ci.yml

---------

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2023-11-14 11:40:28 +01:00
Stefan Holderbach
ebd653b840
Remove old actions-rs/cargo (#637)
See: https://github.com/actions-rs/toolchain/issues/216
2023-09-15 13:17:01 +02:00
Stefan Holderbach
ae1d97a384
Add a configuration to codecov.io (#636)
* Add a configuration to codecov.io

* Add badge

* Make coverage purely informational
2023-09-15 11:15:02 +02:00
Stefan Holderbach
6739c6aed4
Setup coverage with codecov.io (#635) 2023-09-15 10:43:07 +02:00
Hofer-Julian
f75afbdeba
Check typos in CI (#557) 2023-03-19 20:07:29 +01:00
Stefan Holderbach
f2ee704642
Update workflow to new actions (alternative) (#505)
Alternative to #503

Using `actions-rust-lang` instead of `actions-rs` for
setup. (nushell uses them for setup with integrated caching)

Remove build stage as this should also be covered by test.
clippy --all to see if this checks the examples as well.
2022-10-30 17:05:24 +01:00
Paul Colomiets
3042289df4
Remove flicker on external print (#488)
* Remove flicker on external print

Previously each external print was causing a visible flicker on at least
two terminal emulators I've tested (alacritty, xfce4-terminal).

* Make `Painter.print_external_message()` crate local

* Put external_printer Painter members behind flag

* Add `external_printer` feature to CI

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2022-09-29 16:36:04 +02:00
phiresky
4f25ce5633
SQLite History and replaceable History backends (#401)
Changes the history API to support different storage backends and more rich information to be used as metadata/filtering criterions.

Includes a SQLite backed history with additional fields and ports the simple `FileBackedHistory` format consistent.

Includes a `HistoryCursor` to abstract the internal interactive browsing.
Updates `History` trait to cover the API to load and store to the storage backend. 

Commits

* basic sqlite history

* fix test compilation

* final touches for MVP

* better documentation

* fix for empty history

* partial change to non-generic history

* mostly working

* fix tests and ci

* fixes, format

* move history item to new file

* fix some comments, fix test compile errors

todo: fix tests

* ci features matrix

* fix index creation

* fix file-based tests

* move logic for not saving empty entries to engine

* fix update last command on empty, set up application_id and check version

* add specific error variants

* format

* fix compile errors

* fix fmt

* sqlite with bashisms

* hide with features

* cargo fmt

* improve performance of bashisms selectors

* Style: Remove commented out code

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
Co-authored-by: Fernando Herrera <fernando.j.herrera@gmail.com>
Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-06 18:11:02 +02:00
Stefan Holderbach
60b9b91e13
Add doctests back to the CI (#418)
`cargo nextest` currently doesn't support running the doctests.

Thus, add an additional job for them with cargo's default test runner.
2022-05-02 11:10:52 +02:00
Stefan Holderbach
e5c2709202
Change the CI to use caching (#414)
* Change the CI to use caching

This tries to replicate the cargo caching techniques developed by @rgwood on the [nushell](https://github.com/nushell/nushell) repo to save time (and energy) on the CI pipeline.

## Further reading:

[Reilly's blog post](https://www.reillywood.com/blog/rust-faster-ci/)

* Simplify to one job per build matrix combination

This should save some setup time.
And as rebuilds and tests of reedline are fast enough we can just be parallel over the feature
configurations.
2022-05-01 19:52:10 +02:00
Fernando Herrera
accce4af7f
bashisms feature for reedline (#374)
* bashisms feature for reedline

* cargo fmt
2022-04-01 18:27:51 +01:00
Stefan Holderbach
aefc2965d1
Add issue templates (#235)
* Add issue templates

As we often have to consider certain platform/terminal editor specific things as potential sources of bugs, let's nudge people to provide this info

* Delete githubs default form
2022-01-02 20:24:47 +01:00
JT
ab3666a0ac
Fix update to TODO (#142)
* Fix update to TODO

* Fix tests

* remove test ci
2021-09-05 07:57:23 +12:00
JT
ccce8d5fa1
Fix double chars (#140)
* Fix double chars

* Fix double chars

* Updates

* doctest fixes

* see if it's paying attention

* see if it's paying attention
2021-09-05 07:32:02 +12:00
JT
2d4a579f0b
Create rust.yml (#141) 2021-09-05 07:15:54 +12:00
JT
e3f8b59f86
Update ci.yml 2021-09-05 06:08:53 +12:00
JT
2023222d6b
Add clippy to ci (#123) 2021-07-26 08:36:15 +12:00
JT
e36fff2d86
Update ci.yml (#122)
* Update ci.yml

* Update ci.yml
2021-07-26 08:23:29 +12:00
Jonathan Turner
90aca707d0
Let's try adding a ci (#24) 2021-03-17 14:03:17 +13:00