2022-07-22 16:31:29 +00:00
|
|
|
name: Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- develop
|
2023-07-17 05:04:05 +00:00
|
|
|
paths:
|
|
|
|
- "common/**"
|
|
|
|
- "crypto/**"
|
2024-07-18 19:16:45 +00:00
|
|
|
- "networks/**"
|
2023-07-17 05:04:05 +00:00
|
|
|
- "message-queue/**"
|
|
|
|
- "processor/**"
|
|
|
|
- "coordinator/**"
|
|
|
|
- "substrate/**"
|
2023-07-20 23:34:10 +00:00
|
|
|
|
2022-07-22 16:31:29 +00:00
|
|
|
pull_request:
|
2023-07-20 23:34:10 +00:00
|
|
|
paths:
|
|
|
|
- "common/**"
|
|
|
|
- "crypto/**"
|
2024-07-18 19:16:45 +00:00
|
|
|
- "networks/**"
|
2023-07-20 23:34:10 +00:00
|
|
|
- "message-queue/**"
|
|
|
|
- "processor/**"
|
|
|
|
- "coordinator/**"
|
|
|
|
- "substrate/**"
|
|
|
|
|
2022-10-01 03:26:40 +00:00
|
|
|
workflow_dispatch:
|
2022-07-22 16:31:29 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-07-14 17:02:58 +00:00
|
|
|
test-infra:
|
2022-11-17 02:53:35 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-15 18:30:18 +00:00
|
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
2022-07-22 16:31:29 +00:00
|
|
|
|
2023-10-23 11:25:00 +00:00
|
|
|
- name: Build Dependencies
|
|
|
|
uses: ./.github/actions/build-dependencies
|
2022-07-22 16:31:29 +00:00
|
|
|
|
2023-07-14 17:02:58 +00:00
|
|
|
- name: Run Tests
|
2023-01-20 16:00:18 +00:00
|
|
|
run: |
|
2023-08-14 15:59:23 +00:00
|
|
|
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
2023-07-14 17:02:58 +00:00
|
|
|
-p serai-message-queue \
|
|
|
|
-p serai-processor-messages \
|
2024-08-16 18:51:31 +00:00
|
|
|
-p serai-processor-key-gen \
|
2024-09-04 21:29:48 +00:00
|
|
|
-p serai-processor-view-keys \
|
2024-08-19 02:43:13 +00:00
|
|
|
-p serai-processor-frost-attempt-manager \
|
2024-08-20 15:57:56 +00:00
|
|
|
-p serai-processor-primitives \
|
2024-09-02 20:09:52 +00:00
|
|
|
-p serai-processor-scanner \
|
|
|
|
-p serai-processor-scheduler-primitives \
|
2024-09-01 04:01:01 +00:00
|
|
|
-p serai-processor-utxo-scheduler-primitives \
|
2024-09-04 07:54:12 +00:00
|
|
|
-p serai-processor-utxo-scheduler \
|
2024-08-30 23:51:53 +00:00
|
|
|
-p serai-processor-transaction-chaining-scheduler \
|
2024-09-05 02:50:02 +00:00
|
|
|
-p serai-processor-signers \
|
2024-09-11 22:56:23 +00:00
|
|
|
-p serai-processor-bin \
|
2024-09-05 02:39:41 +00:00
|
|
|
-p serai-bitcoin-processor \
|
|
|
|
-p serai-ethereum-processor \
|
|
|
|
-p serai-monero-processor \
|
2023-07-14 17:02:58 +00:00
|
|
|
-p tendermint-machine \
|
|
|
|
-p tributary-chain \
|
2023-11-05 13:39:50 +00:00
|
|
|
-p serai-coordinator \
|
2024-04-19 10:12:33 +00:00
|
|
|
-p serai-orchestrator \
|
2023-11-05 13:39:50 +00:00
|
|
|
-p serai-docker-tests
|
2023-07-14 17:02:58 +00:00
|
|
|
|
|
|
|
test-substrate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-15 18:30:18 +00:00
|
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
2023-01-20 16:00:18 +00:00
|
|
|
|
2023-10-23 11:25:00 +00:00
|
|
|
- name: Build Dependencies
|
|
|
|
uses: ./.github/actions/build-dependencies
|
2022-07-22 16:31:29 +00:00
|
|
|
|
2023-07-14 17:02:58 +00:00
|
|
|
- name: Run Tests
|
|
|
|
run: |
|
2023-08-14 15:59:23 +00:00
|
|
|
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
2023-07-14 17:02:58 +00:00
|
|
|
-p serai-primitives \
|
2023-10-19 10:22:21 +00:00
|
|
|
-p serai-coins-primitives \
|
|
|
|
-p serai-coins-pallet \
|
2023-11-05 17:02:34 +00:00
|
|
|
-p serai-dex-pallet \
|
2023-07-14 17:02:58 +00:00
|
|
|
-p serai-validator-sets-primitives \
|
|
|
|
-p serai-validator-sets-pallet \
|
2024-08-31 22:55:42 +00:00
|
|
|
-p serai-genesis-liquidity-primitives \
|
|
|
|
-p serai-genesis-liquidity-pallet \
|
|
|
|
-p serai-emissions-primitives \
|
|
|
|
-p serai-emissions-pallet \
|
|
|
|
-p serai-economic-security-pallet \
|
2023-10-23 04:33:38 +00:00
|
|
|
-p serai-in-instructions-primitives \
|
|
|
|
-p serai-in-instructions-pallet \
|
2024-04-19 10:12:33 +00:00
|
|
|
-p serai-signals-primitives \
|
2023-10-23 04:33:38 +00:00
|
|
|
-p serai-signals-pallet \
|
2024-04-19 10:12:33 +00:00
|
|
|
-p serai-abi \
|
2023-07-14 17:02:58 +00:00
|
|
|
-p serai-runtime \
|
|
|
|
-p serai-node
|
|
|
|
|
|
|
|
test-serai-client:
|
2022-07-22 16:31:29 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-15 18:30:18 +00:00
|
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
2022-07-22 16:31:29 +00:00
|
|
|
|
2023-10-23 04:33:38 +00:00
|
|
|
- name: Build Dependencies
|
|
|
|
uses: ./.github/actions/build-dependencies
|
2023-07-14 17:02:58 +00:00
|
|
|
|
|
|
|
- name: Run Tests
|
2023-08-14 15:59:23 +00:00
|
|
|
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p serai-client
|