From fa239cf400f356338009079731a1b7b7b071c8c1 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Tue, 16 Jul 2024 11:02:54 +0530 Subject: [PATCH] Add onboarding test in gitea CI --- .gitea/workflows/test.yml | 11 ++++++++++- .github/workflows/test.yml | 7 +++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index e39c7ca..f3f836e 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -22,7 +22,7 @@ jobs: path: "./laconicd/" repository: cerc-io/laconic2d # TODO: Update to laconicd on repo renaming fetch-depth: 0 - ref: main + ref: testnet-onboarding - name: Environment run: ls -tlh && env @@ -61,3 +61,12 @@ jobs: - name: Run nameservice expiry tests working-directory: laconicd/tests/sdk_tests run: ./run-tests.sh test:nameservice-expiry + + - name: Start containers (onboarding enabled) + working-directory: laconicd/tests/sdk_tests + env: + ONBOARDING_ENABLED: true + run: docker compose up -d + - name: Run participants onboarding tests + working-directory: laconicd/tests/sdk_tests + run: ./run-tests.sh test:onboarding diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 234c36c..a45b8e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,10 +15,9 @@ jobs: uses: actions/checkout@v3 with: path: "./laconicd/" - repository: deep-stack/laconic2d - token: ${{ secrets.GH_PAT }} # PAT for accessing private laconic2d + repository: cerc-io/laconic2d fetch-depth: 0 - ref: testnet-onboarding + ref: main - name: Environment run: ls -tlh && env @@ -58,6 +57,6 @@ jobs: env: ONBOARDING_ENABLED: true run: docker compose up -d - - name: Run nameservice expiry tests + - name: Run participants onboarding tests working-directory: laconicd/tests/sdk_tests run: ./run-tests.sh test:onboarding