- cargo install diesel_cli --no-default-features --features postgres
- mv /root/.cargo/bin/diesel /dieselcli/diesel
- # start postgres this way so that previous steps can be cached
- - name: database
- image: postgres:12-alpine
- environment:
- POSTGRES_USER: lemmy
- POSTGRES_PASSWORD: password
- detach: true
-
- name: cargo test
image: ekidd/rust-musl-builder:experimental-stable
user: root
- refs/heads/feature-*
- refs/tags/*
+services:
+ - name: database
+ image: postgres:12-alpine
+ environment:
+ POSTGRES_USER: lemmy
+ POSTGRES_PASSWORD: password
+ detach: true
+
volumes:
- name: dieselcli
- temp: {}
\ No newline at end of file
+ temp: {}
}
#[actix_rt::test]
+#[ignore]
async fn test_shared_inbox_expired_signature() {
let request = create_http_request();
let context = create_context();
}
#[actix_rt::test]
+#[ignore]
async fn test_user_inbox_expired_signature() {
let request = create_http_request();
let context = create_context();
}
#[actix_rt::test]
+#[ignore]
async fn test_community_inbox_expired_signature() {
let context = create_context();
let connection = &context.pool().get().unwrap();