Migrate vm_payment to subscriptions payment system #97
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Integration Tests | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_LOG: info | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo registry and build | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: e2e-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| e2e-${{ runner.os }}-cargo- | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler jq | |
| - name: Run E2E tests | |
| env: | |
| LNVPS_E2E_RUN_ID: ${{ github.run_id }}_${{ github.run_attempt }} | |
| run: ./scripts/run-e2e.sh | |
| - name: Dump server logs on failure | |
| if: failure() | |
| run: | | |
| echo "=== User API log ===" | |
| cat /tmp/lnvps-e2e-api.log 2>/dev/null || true | |
| echo "=== Admin API log ===" | |
| cat /tmp/lnvps-e2e-admin-api.log 2>/dev/null || true | |
| echo "=== Docker compose logs ===" | |
| docker compose -f docker-compose.e2e.yaml logs --tail=50 2>/dev/null || true |