forked from Stellar-Paymaster/xlm-paymaster
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 1.03 KB
/
Copy pathfluid-server-tests.yml
File metadata and controls
42 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Fluid Server Rust Tests
on:
pull_request:
paths:
- "fluid-server/**"
- ".github/workflows/fluid-server-tests.yml"
push:
branches:
- main
paths:
- "fluid-server/**"
- ".github/workflows/fluid-server-tests.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
verification:
runs-on: ubuntu-latest
defaults:
run:
working-directory: fluid-server
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Rust-only verification
run: cargo test rust_server_handles_static_and_api_without_node --test rust_only_verification -- --nocapture
- name: Horizon failover verification
run: cargo test retries_failed_submission_on_secondary_node_and_logs_statuses -- --nocapture
- name: Final-error verification
run: cargo test does_not_retry_final_submission_errors -- --nocapture