Merge pull request #40 from hyphacoop/v15-update #106
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: Check linting and tests | |
on: | |
pull_request: | |
types: | |
- opened | |
- closed | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
workflow_dispatch: | |
jobs: | |
pylint-pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install required modules | |
run: python -m pip install -r requirements.txt | |
- name: autopep8 and pylint checks | |
run: ./lint.sh | |
- name: Test with fresh genesis | |
run: python -m pytest -v -s | |