-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.14 KB
/
testing-nigthly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Tests Nightly
on:
schedule:
- cron: '30 3 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: |
yarn install --ignore-engines
- name: Lint
run: |
yarn lint
- name: Run e2e tests
env:
LOCAL_CONF_DIR: "/tmp/.nevermined"
SEED_WORDS: ${{ secrets.MNEMONIC_TESTING_MUMBAI }}
TOKEN_ADDRESS: "0x001B3B4d0F3714Ca98ba10F6042DaEbF0B1B7b6F"
WEB3_PROVIDER_URL: https://polygon-mumbai.infura.io/v3/${{ secrets.INFURA_TOKEN }}
NETWORK: "mumbai"
IPFS_PROJECT_ID: ${{ secrets.IPFS_PROJECT_ID }}
IPFS_PROJECT_SECRET: ${{ secrets.IPFS_PROJECT_SECRET }}
run: |
sleep 10
yarn build
yarn test test/integration/NFTs1155.test.ts
- name: Upload logs
uses: actions/upload-artifact@v2
if: failure()
with:
name: nevermined-tools-output
path: tools/nevermined_tools.txt