test: run CI against nwaku origin/master

To pick up any upcoming issue.
This commit is contained in:
fryorcraken.eth 2022-11-15 15:08:39 +11:00
parent b8a44a6060
commit d165b5a1d5
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
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/