Skip to content

fix(tests): local test account issue #101

fix(tests): local test account issue

fix(tests): local test account issue #101

Workflow file for this run

name: coverage
on:
push:
branches: ["v1"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
name: Test python API
steps:
- uses: actions/checkout@v1
- name: Install requirements
run: pip install ".[tester]"
- name: Run tests and collect coverage
run:
export TESTNET_URL=${{secrets.TESTNET_URL}} &&
export USE_TESTNET=1 &&
export ENS_ACCOUNT_NAME=${{secrets.ENS_ACCOUNT_NAME}} &&
export ENS_ACCOUNT_SECRET=${{secrets.ENS_ACCOUNT_SECRET}} &&
pytest --cov tests -n 3 --dist loadscope
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${{secrets.CODECOV_TOKEN}}