Skip to content

Adding the 'draft' and 'prerelease' parameters to the GH build script. #38

Adding the 'draft' and 'prerelease' parameters to the GH build script.

Adding the 'draft' and 'prerelease' parameters to the GH build script. #38

Workflow file for this run

name: Run tests workflow
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
run_tests:
runs-on: ubuntu-18.04
name: Run tests
strategy:
matrix:
python-version: [3.6, 3.7]
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
upload_notify_artifact:
runs-on: ubuntu-18.04
if: always()
name: Upload Notify Artifact
steps:
- name: Upload Notify Artifact
uses: zebra-lucky/[email protected]
with:
gh_ctx: ${{ toJson(github) }}