Skip to content

Commit

Permalink
Merge pull request #32 from jeertmans/nextest
Browse files Browse the repository at this point in the history
chore(ci): use `cargo-nextest` for faster testing in ci
  • Loading branch information
jeertmans authored Sep 10, 2022
2 parents eaaef2d + 6e825a6 commit 6cf960a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dockertests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run: docker pull erikvl87/languagetool
- run: docker run -d --rm -p 8010:8010 erikvl87/languagetool
- run: cargo install --path . --all-features --debug
- run: function retry { ltrs ping && echo "Server is up and running!" || (echo "Failed to ping server, retrying in 2 seconds" && sleep 2 && retry) }; retry
- run: cat README.md | ltrs check
- run: ltrs languages
- run: ltrs check -t "Some text with a apparent mistake"
- run: cargo test --all-features
- run: cargo nextest run --all-features
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added release dates. [#31](https://github.com/jeertmans/languagetool-rust/pull/31)
- Added `#[must_use]` flag to most structures, to please clippy pendantic. [#29](https://github.com/jeertmans/languagetool-rust/pull/29)
- Changed conditional compilation flags to directly point to dependency, e.g., `"clap"` instead of `"cli"`. [#28](https://github.com/jeertmans/languagetool-rust/pull/28)
- Use `cargo-nextest` instead of `cargo test` for faster CI testing. [#32](https://github.com/jeertmans/languagetool-rust/pull/32)

### Added

Expand Down

0 comments on commit 6cf960a

Please sign in to comment.