Skip to content

Merge pull request #31 from polywrap/kris/ethereum-wallet-plugin #36

Merge pull request #31 from polywrap/kris/ethereum-wallet-plugin

Merge pull request #31 from polywrap/kris/ethereum-wallet-plugin #36

Workflow file for this run

name: ethereum-wallet-py-ci
on:
push:
branches:
- main
pull_request:
paths:
- "implementations/py/**"
jobs:
ci:
name: ethereum-wallet-py-ci
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- name: Install dependencies
run: yarn install --nonInteractive --frozen-lockfile --prefer-offline
working-directory: ./implementations/py
- name: Codegen
run: yarn codegen
working-directory: ./implementations/py
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install
working-directory: ./implementations/py
- name: Typecheck
run: poetry run tox -e typecheck
working-directory: ./implementations/py
- name: Lint
run: poetry run tox -e lint
working-directory: ./implementations/py
- name: Security
run: poetry run tox -e secure
working-directory: ./implementations/py
- name: Test
run: poetry run tox
working-directory: ./implementations/py