Merge pull request #1017 from waku-org/nwaku-master

test: run CI against nwaku origin/master
This commit is contained in:
fryorcraken.eth 2022-11-15 20:31:51 +11:00 committed by GitHub
commit 25565aa2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 47 additions and 0 deletions

View File

@ -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/