Skip to content

bump version to 0.3.0 #15

bump version to 0.3.0

bump version to 0.3.0 #15

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: btsocket-tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install python dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools
python3 -m pip install .[test]
if [ -f requirements.txt ]; then /usr/bin/python3 -m pip install -r requirements.txt; fi
- name: Lint with pycodestyle
run: |
python3 -m pycodestyle -v btsocket
python3 -m pycodestyle -v examples
- name: Test with unittest
run: |
coverage run -m unittest discover -v tests
coverage report