fix: adapting to sdk v2.0.0 #358
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: nevermined-io/nvm-tools-actions@v0.13.0 | |
with: | |
token: ${{ secrets.API_TOKEN_GITHUB }} | |
opengsn: 'true' | |
estuary: 'true' | |
frost: 'true' | |
contracts-version: 'latest' | |
frost-version: 'latest' | |
- name: Install dependencies | |
run: | | |
yarn | |
- name: Copy artifacts | |
run: | | |
nvm-tools copy-artifacts ./artifacts | |
nvm-tools copy-circuits ./circuits | |
ls -l ./artifacts | |
- name: Run integration tests | |
env: | |
NO_GRAPH: true | |
SEED_WORDS: ${{ secrets.TEST_MNEMONIC }} | |
run: | | |
ls circuits | |
yarn test | |
- name: Upload logs | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: nevermined-tools-output | |
path: tools/nevermined_tools.txt |