Skip to content

Commit

Permalink
Simple test setup for eth payments
Browse files Browse the repository at this point in the history
This simple test generates traffic between two nodes, then verfies that the debt of the
sender node refects a payment in eth.
  • Loading branch information
jkilpatr authored and ptulugu committed Jul 27, 2023
1 parent ddd28e8 commit 0396754
Show file tree
Hide file tree
Showing 8 changed files with 234 additions and 94 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jpribyl/[email protected]
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-headers-$(uname -r) build-essential && sudo modprobe wireguard
- name: Run integration test
Expand All @@ -110,6 +111,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jpribyl/[email protected]
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-headers-$(uname -r) build-essential && sudo modprobe wireguard
- name: Run integration test
Expand All @@ -126,7 +128,7 @@ jobs:
- name: Run integration test
run: bash scripts/integration_tests/all-up-test.sh FIVE_NODES
integration-test-althea-payment:
needs: test
needs: integration-test-five-nodes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -135,11 +137,20 @@ jobs:
- name: Run integration test
run: bash scripts/integration_tests/all-up-test.sh PAYMENTS_ALTHEA
integration-test-debts:
needs: test
needs: integration-test-five-nodes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-headers-$(uname -r) build-essential && sudo modprobe wireguard
- name: Run integration test
run: bash scripts/integration_tests/all-up-test.sh DEBTS_TEST
integration-test-eth-payments:
needs: integration-test-five-nodes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-headers-$(uname -r) build-essential && sudo modprobe wireguard
- name: Run integration test
run: bash scripts/integration_tests/all-up-test.sh DEBTS_TEST
run: bash scripts/integration_tests/all-up-test.sh ETH_PAYMENTS
Loading

0 comments on commit 0396754

Please sign in to comment.