-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (40 loc) · 1.53 KB
/
integration_test.yaml
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
44
45
46
47
48
49
50
# on:
# # Trigger the workflow on pull request,
# # but only for the main branch
# pull_request:
# branches:
# - main
# name: integration test
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DISCORD_WEBHOOK_URL: ${{ secrets.TEST_DISCORD_WEBHOOK }}
# NODE_URL: ${{ secrets.NODE_URL }}
# POLYGON_NODE_URL: ${{ secrets.POLYGON_NODE_URL }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# WEB3_INFURA_PROJECT_ID: ${{ secrets.WEB3_INFURA_PROJECT_ID }}
# MOCK_AWS_CREDENTIAL: ${{ secrets.MOCK_AWS_CREDENTIAL }}
# ENV: TEST
# KUBE: 'False'
# NODE_OPTIONS: --max_old_space_size=4096
# jobs:
# integration-tests:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Setup Node.js
# uses: actions/setup-node@v1
# with:
# node-version: '14'
# - name: npm install
# run: npm install
# - name: Install hardhat
# run: npm install --save-dev hardhat
# - name: Setup Python 3.9
# uses: actions/setup-python@v2
# with:
# python-version: 3.9.5
# - name: Install Requirements
# run: pip install -r requirements.txt && pip install -r requirements-dev.txt
# - name: Run Tests
# run: brownie test integration_tests --network hardhat-fork