Update: .coveralls.yml API repo token #13
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: 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 ${{ 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 | |
coverage report | |
- name: Submit Coverage Report to Coveralls | |
if: ${{ matrix.python-version == 3.12 }} | |
run: coveralls |