Merge pull request #1 from meherett/add-network-param #6
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
# This workflow will install Swap package dependencies, run tests and lint with a variety of Python versions. | |
name: Python-BIP38 | |
on: | |
push: | |
branches: [ | |
master | |
] | |
pull_request: | |
branches: [ | |
master | |
] | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ | |
"3.9", "3.10", "3.11", "3.12" | |
] | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@master | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[tests] | |
- name: Test with PyTest with Coverage | |
run: coverage run -m pytest | |
- name: Submit Coverage report to Coveralls | |
if: ${{ matrix.python-version == 3.12 }} | |
run: coveralls |