From 58d542eabefed2882e0302cd403baea5b11f0435 Mon Sep 17 00:00:00 2001 From: bwty Date: Fri, 15 Dec 2023 00:01:17 +0800 Subject: [PATCH] test: test-tube with sudo --- .github/workflows/test_tube.yml | 16 +++++++++++++++- .github/workflows/tests.yml | 1 - 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_tube.yml b/.github/workflows/test_tube.yml index 445a388e..b48cd190 100644 --- a/.github/workflows/test_tube.yml +++ b/.github/workflows/test_tube.yml @@ -52,8 +52,22 @@ jobs: artifacts/ key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }} + - name: Download passkey-cli repo + uses: actions/checkout@v4 + with: + repository: nymlab/passkey-cli + path: ./passkey-cli + ref: main + token: ${{ secrets.GH_TOKEN }} + + - name: Install passkey-cli + run: | + cd ./passkey-cli + cargo build --release + cp target/release/passkey-cli ../packages/vectis-tests + - name: Run build-contracts run: make build-contracts - name: Run Test Tube Integration Tests - run: cargo test -- test-tube + run: sudo cargo test -- test-tube diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0985fc27..e5454dfd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,6 @@ on: branches: - main - berlin - - test-tube pull_request: jobs: