Skip to content

Merge pull request #20 from LexxXell/master #72

Merge pull request #20 from LexxXell/master

Merge pull request #20 from LexxXell/master #72

Workflow file for this run

name: Run tests workflow
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
run_tests:
runs-on: ubuntu-22.04
name: Run tests
strategy:
matrix:
python-version: [3.10.13]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y libsecp256k1-0
python -m pip install --upgrade pip wheel tox tox-gh-actions flake8
- name: Run flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run tests
run: |
tox