mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 14:45:10 +00:00
fix test, run clippy
This commit is contained in:
parent
ec13759ca6
commit
5b34d2be6c
|
@ -3,6 +3,8 @@ name: default
|
|||
|
||||
steps:
|
||||
- name: cargo test
|
||||
# needed because it doesnt work as root, and drone clones as root without an easy way to change it
|
||||
# https://github.com/emk/rust-musl-builder/issues/96
|
||||
image: ekidd/rust-musl-builder:experimental-stable
|
||||
user: root
|
||||
environment:
|
||||
|
@ -12,6 +14,7 @@ steps:
|
|||
commands:
|
||||
- cargo check --all
|
||||
- cargo test --workspace --no-fail-fast
|
||||
- cargo clippy
|
||||
- mdbook build docs/
|
||||
|
||||
- name: run federation tests
|
||||
|
|
|
@ -265,6 +265,7 @@ mod tests {
|
|||
private_key: None,
|
||||
public_key: None,
|
||||
last_refreshed_at: inserted_user.published,
|
||||
deleted: false,
|
||||
};
|
||||
|
||||
let read_user = User_::read(&conn, inserted_user.id).unwrap();
|
||||
|
|
Loading…
Reference in a new issue