mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-25 13:09:30 +00:00
8380653855
This will replace the signers still in the monolithic Processor binary.
100 lines
2.9 KiB
YAML
100 lines
2.9 KiB
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- "common/**"
|
|
- "crypto/**"
|
|
- "networks/**"
|
|
- "message-queue/**"
|
|
- "processor/**"
|
|
- "coordinator/**"
|
|
- "substrate/**"
|
|
|
|
pull_request:
|
|
paths:
|
|
- "common/**"
|
|
- "crypto/**"
|
|
- "networks/**"
|
|
- "message-queue/**"
|
|
- "processor/**"
|
|
- "coordinator/**"
|
|
- "substrate/**"
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-infra:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
|
|
|
- name: Build Dependencies
|
|
uses: ./.github/actions/build-dependencies
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
|
-p serai-message-queue \
|
|
-p serai-processor-messages \
|
|
-p serai-processor-key-gen \
|
|
-p serai-processor-view-keys \
|
|
-p serai-processor-frost-attempt-manager \
|
|
-p serai-processor-primitives \
|
|
-p serai-processor-scanner \
|
|
-p serai-processor-scheduler-primitives \
|
|
-p serai-processor-utxo-scheduler-primitives \
|
|
-p serai-processor-utxo-scheduler \
|
|
-p serai-processor-transaction-chaining-scheduler \
|
|
-p serai-processor-signers \
|
|
-p serai-bitcoin-processor \
|
|
-p serai-ethereum-processor \
|
|
-p serai-monero-processor \
|
|
-p tendermint-machine \
|
|
-p tributary-chain \
|
|
-p serai-coordinator \
|
|
-p serai-orchestrator \
|
|
-p serai-docker-tests
|
|
|
|
test-substrate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
|
|
|
- name: Build Dependencies
|
|
uses: ./.github/actions/build-dependencies
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
|
-p serai-primitives \
|
|
-p serai-coins-primitives \
|
|
-p serai-coins-pallet \
|
|
-p serai-dex-pallet \
|
|
-p serai-validator-sets-primitives \
|
|
-p serai-validator-sets-pallet \
|
|
-p serai-genesis-liquidity-primitives \
|
|
-p serai-genesis-liquidity-pallet \
|
|
-p serai-emissions-primitives \
|
|
-p serai-emissions-pallet \
|
|
-p serai-economic-security-pallet \
|
|
-p serai-in-instructions-primitives \
|
|
-p serai-in-instructions-pallet \
|
|
-p serai-signals-primitives \
|
|
-p serai-signals-pallet \
|
|
-p serai-abi \
|
|
-p serai-runtime \
|
|
-p serai-node
|
|
|
|
test-serai-client:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
|
|
|
- name: Build Dependencies
|
|
uses: ./.github/actions/build-dependencies
|
|
|
|
- name: Run Tests
|
|
run: GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features -p serai-client
|