Skip to content

Merge pull request #1712 from Hecate2/master #776

Merge pull request #1712 from Hecate2/master

Merge pull request #1712 from Hecate2/master #776

on: ["push", "pull_request"]
name: functionality
env:
ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WEB3_INFURA_PROJECT_ID: 44c6300c5e5b4b2da5fc42b06bf18a8e
jobs:
functionality:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
job: [plugintest, pmtest]
steps:
- uses: actions/checkout@v2
- name: Cache Solidity Installations
uses: actions/cache@v2
with:
path: |
~/.solcx
~/.vvm
key: ${{ runner.os }}-compiler-cache
- name: Setup Node.js
uses: actions/setup-node@v1
- name: Install Ganache
run: npm install -g ganache@7.0.2
- name: Setup Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e pmtest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml