Skip to content

Commit 6cf960a

Browse files
authored
Merge pull request #32 from jeertmans/nextest
chore(ci): use `cargo-nextest` for faster testing in ci
2 parents eaaef2d + 6e825a6 commit 6cf960a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/dockertests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ jobs:
1818
- uses: actions-rs/toolchain@v1
1919
with:
2020
toolchain: nightly
21+
- run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
2122
- run: docker pull erikvl87/languagetool
2223
- run: docker run -d --rm -p 8010:8010 erikvl87/languagetool
2324
- run: cargo install --path . --all-features --debug
2425
- run: function retry { ltrs ping && echo "Server is up and running!" || (echo "Failed to ping server, retrying in 2 seconds" && sleep 2 && retry) }; retry
2526
- run: cat README.md | ltrs check
2627
- run: ltrs languages
2728
- run: ltrs check -t "Some text with a apparent mistake"
28-
- run: cargo test --all-features
29+
- run: cargo nextest run --all-features

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
- Added release dates. [#31](https://github.com/jeertmans/languagetool-rust/pull/31)
1616
- Added `#[must_use]` flag to most structures, to please clippy pendantic. [#29](https://github.com/jeertmans/languagetool-rust/pull/29)
1717
- Changed conditional compilation flags to directly point to dependency, e.g., `"clap"` instead of `"cli"`. [#28](https://github.com/jeertmans/languagetool-rust/pull/28)
18+
- Use `cargo-nextest` instead of `cargo test` for faster CI testing. [#32](https://github.com/jeertmans/languagetool-rust/pull/32)
1819

1920
### Added
2021

0 commit comments

Comments
 (0)