New node registration transaction (with proof of possession) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks on the Python client | |
# This workflow performs some checks on the Python client used by the tests | |
# It is there to help us maintain a level of quality in our codebase and does not have to be kept on forked | |
# applications. | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- main | |
- develop | |
pull_request: | |
jobs: | |
lint: | |
name: Client linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v3 | |
- name: Installing PIP dependencies | |
run: | | |
pip install pylint | |
pip install --extra-index-url https://test.pypi.org/simple/ -r tests/requirements.txt | |
- name: Lint Python code | |
run: | | |
pylint --rc tests/setup.cfg tests/application_client/ | |
mypy: | |
name: Type checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v3 | |
- name: Installing PIP dependencies | |
run: | | |
pip install mypy | |
pip install --extra-index-url https://test.pypi.org/simple/ -r tests/requirements.txt | |
- name: Mypy type checking | |
run: | | |
mypy tests/application_client/ |