feat: CI: run tests on nightly rust
ci/woodpecker/push/woodpecker Pipeline failed Details

mockall lib requires nightly toolchain
This commit is contained in:
Aravinth Manivannan 2024-05-07 13:02:41 +05:30
parent 31c9df7a09
commit 2e889b8f68
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
1 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,5 @@
steps:
build_and_test:
test:
image: rust
when:
event: [push, pull_request, tag, deployment]
@ -11,9 +11,17 @@ steps:
- rustup toolchain install nightly
- rustup component add rustfmt
- rustup component add clippy
- rustup override set nightly
- make db.migrate
- make lint
- make test
build_binary:
image: rust
when:
event: [push, pull_request, tag, deployment]
commands:
- rustup override set stable
- make release
build_docker_img: