From d165b5a1d578a55032c616542d3c1296195db604 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Tue, 15 Nov 2022 15:08:39 +1100 Subject: [PATCH] test: run CI against nwaku origin/master To pick up any upcoming issue. --- .github/workflows/ci.yml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be0d007747..60ff4cdc93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,3 +134,50 @@ jobs: with: name: go-waku-logs path: log/ + + node_with_nwaku_master: + runs-on: ubuntu-latest + env: + DEBUG: "waku*" + steps: + - uses: actions/checkout@v3 + with: + submodules: "recursive" + fetch-depth: 0 + + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_JS }} + + - name: Pull nwaku origin/master + run: | + cd nwaku + git fetch origin + git checkout origin/master + + - uses: bahmutov/npm-install@v1 + + - name: build nwaku + run: | + cd packages/tests + npm run nwaku:force-build + + - name: Ensure wakunode2 is ready + shell: bash + run: | + uname -a + cd nwaku + ./build/wakunode2 --help + + - run: npm run build + - run: npm run test:node + env: + DEBUG: "waku:nwaku*,waku:test*" + + - name: Upload logs on failure + uses: actions/upload-artifact@v2 + if: failure() + with: + name: nwaku-master-logs + path: log/