From 66eaf6ab61966858a3c97de5641d47a16af7a314 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Mon, 20 Mar 2023 01:07:43 -0400 Subject: [PATCH] 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. --- .github/actions/monero-wallet-rpc/action.yml | 4 ++-- .github/actions/monero/action.yml | 2 +- .github/actions/test-dependencies/action.yml | 17 +---------------- .github/workflows/monero-tests.yaml | 4 ++-- 4 files changed, 6 insertions(+), 21 deletions(-) diff --git a/.github/actions/monero-wallet-rpc/action.yml b/.github/actions/monero-wallet-rpc/action.yml index ebbd2171..d7929850 100644 --- a/.github/actions/monero-wallet-rpc/action.yml +++ b/.github/actions/monero-wallet-rpc/action.yml @@ -5,7 +5,7 @@ inputs: version: description: "Version to download and run" required: false - default: v0.18.1.2 + default: v0.18.2.0 runs: using: "composite" @@ -37,7 +37,7 @@ runs: wget https://downloads.getmonero.org/cli/$FILE tar -xvf $FILE - mv monero-x86_64-linux-gnu-${{ inputs.version }}/monero-wallet-rpc monero-wallet-rpc + mv monero-x86_64-linux-gnu-${{ inputs.version }}/monero-wallet-rpc monero-wallet-rpc - name: Monero Wallet RPC shell: bash diff --git a/.github/actions/monero/action.yml b/.github/actions/monero/action.yml index 8985a548..907e05f7 100644 --- a/.github/actions/monero/action.yml +++ b/.github/actions/monero/action.yml @@ -5,7 +5,7 @@ inputs: version: description: "Version to download and run" required: false - default: v0.18.1.2 + default: v0.18.2.0 runs: using: "composite" diff --git a/.github/actions/test-dependencies/action.yml b/.github/actions/test-dependencies/action.yml index 2fb500d7..ab604ed7 100644 --- a/.github/actions/test-dependencies/action.yml +++ b/.github/actions/test-dependencies/action.yml @@ -10,18 +10,13 @@ inputs: monero-version: description: "Monero version to download and run as a regtest node" required: false - default: v0.18.0.0 + default: v0.18.2.0 bitcoin-version: description: "Bitcoin version to download and run as a regtest node" required: false default: 24.0.1 - serai: - description: "Run a Serai development node in the background" - required: false - default: false - runs: using: "composite" steps: @@ -47,13 +42,3 @@ runs: - name: Run a 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 & diff --git a/.github/workflows/monero-tests.yaml b/.github/workflows/monero-tests.yaml index 0734c80c..6a382475 100644 --- a/.github/workflows/monero-tests.yaml +++ b/.github/workflows/monero-tests.yaml @@ -35,7 +35,7 @@ jobs: # Test against all supported protocol versions strategy: matrix: - version: [v0.17.3.2, v0.18.1.2] + version: [v0.17.3.2, v0.18.2.0] steps: - uses: actions/checkout@v3 @@ -52,7 +52,7 @@ jobs: - name: Run Integration Tests # 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: | cargo test --package monero-serai --all-features --test '*' cargo test --package processor --all-features monero