mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
Remove the code for the CI to spawn a Serai node
The serai-client test runner controls the node on its end. Also bumps the Monero version.
This commit is contained in:
parent
597122b2e0
commit
66eaf6ab61
4 changed files with 6 additions and 21 deletions
2
.github/actions/monero-wallet-rpc/action.yml
vendored
2
.github/actions/monero-wallet-rpc/action.yml
vendored
|
@ -5,7 +5,7 @@ inputs:
|
||||||
version:
|
version:
|
||||||
description: "Version to download and run"
|
description: "Version to download and run"
|
||||||
required: false
|
required: false
|
||||||
default: v0.18.1.2
|
default: v0.18.2.0
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|
2
.github/actions/monero/action.yml
vendored
2
.github/actions/monero/action.yml
vendored
|
@ -5,7 +5,7 @@ inputs:
|
||||||
version:
|
version:
|
||||||
description: "Version to download and run"
|
description: "Version to download and run"
|
||||||
required: false
|
required: false
|
||||||
default: v0.18.1.2
|
default: v0.18.2.0
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|
17
.github/actions/test-dependencies/action.yml
vendored
17
.github/actions/test-dependencies/action.yml
vendored
|
@ -10,18 +10,13 @@ inputs:
|
||||||
monero-version:
|
monero-version:
|
||||||
description: "Monero version to download and run as a regtest node"
|
description: "Monero version to download and run as a regtest node"
|
||||||
required: false
|
required: false
|
||||||
default: v0.18.0.0
|
default: v0.18.2.0
|
||||||
|
|
||||||
bitcoin-version:
|
bitcoin-version:
|
||||||
description: "Bitcoin version to download and run as a regtest node"
|
description: "Bitcoin version to download and run as a regtest node"
|
||||||
required: false
|
required: false
|
||||||
default: 24.0.1
|
default: 24.0.1
|
||||||
|
|
||||||
serai:
|
|
||||||
description: "Run a Serai development node in the background"
|
|
||||||
required: false
|
|
||||||
default: false
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
@ -47,13 +42,3 @@ runs:
|
||||||
|
|
||||||
- name: Run a Monero Wallet-RPC
|
- name: Run a Monero Wallet-RPC
|
||||||
uses: ./.github/actions/monero-wallet-rpc
|
uses: ./.github/actions/monero-wallet-rpc
|
||||||
|
|
||||||
- name: Run a Serai Development Node
|
|
||||||
if: ${{ inputs.serai }}
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
cd substrate/node
|
|
||||||
cargo build
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
./target/debug/serai-node --dev &
|
|
||||||
|
|
4
.github/workflows/monero-tests.yaml
vendored
4
.github/workflows/monero-tests.yaml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
# Test against all supported protocol versions
|
# Test against all supported protocol versions
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [v0.17.3.2, v0.18.1.2]
|
version: [v0.17.3.2, v0.18.2.0]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run Integration Tests
|
- name: Run Integration Tests
|
||||||
# Don't run if the the tests workflow also will
|
# Don't run if the the tests workflow also will
|
||||||
if: ${{ matrix.version != 'v0.18.1.2' }}
|
if: ${{ matrix.version != 'v0.18.2.0' }}
|
||||||
run: |
|
run: |
|
||||||
cargo test --package monero-serai --all-features --test '*'
|
cargo test --package monero-serai --all-features --test '*'
|
||||||
cargo test --package processor --all-features monero
|
cargo test --package processor --all-features monero
|
||||||
|
|
Loading…
Reference in a new issue