Skip to content

Commit

Permalink
Fix nox build
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Sep 18, 2023
1 parent 8a79e7a commit c4b17fb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/python_sdk_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ['3.9', '3.10', '3.11']
include:
- os: ubuntu-latest
path: ~/.cache/pip
Expand All @@ -41,8 +41,8 @@ jobs:
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('demos/python/sdk_wireless_camera_control/poetry.lock') }}
restore-keys: ${{ runner.os }}-pip-

- name: Install Bluez on Ubuntu
run: sudo apt-get update && sudo apt install -y bluez
- name: Install prereqs on Ubuntu
run: sudo apt-get update && sudo apt install -y bluez graphviz
if: ${{ matrix.os == 'ubuntu-latest'}}

- name: Install dependencies
Expand All @@ -57,6 +57,11 @@ jobs:
working-directory: ./demos/python/sdk_wireless_camera_control/
run: nox -p ${{ matrix.python-version }}

# Only test docs on ubuntu since we need graphviz
- name: Test docs build
if: ${{ matrix.os == 'ubuntu-latest'}}
run: nox -s docs

- name: Archive test report on failure
uses: actions/upload-artifact@v2
if: failure()
Expand Down
4 changes: 4 additions & 0 deletions demos/python/sdk_wireless_camera_control/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

Unreleased
----------
* Fix BLE notifications not being routed correctly

0.14.0 (September-13-2022)
--------------------------
* NOTE! This is a major update and includes massive API breaking changes.
Expand Down
3 changes: 2 additions & 1 deletion demos/python/sdk_wireless_camera_control/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import nox
from nox_poetry import session

nox.options.sessions = "format", "lint", "tests", "docstrings", "docs"
# Don't run docs by default since it needs graphviz.
nox.options.sessions = "format", "lint", "tests", "docstrings"

SUPPORTED_VERSIONS = [
"3.9",
Expand Down
2 changes: 1 addition & 1 deletion demos/python/sdk_wireless_camera_control/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "open_gopro"
version = "0.14.0"
version = "0.14.1"
description = "Open GoPro API and Examples"
authors = ["Tim Camise <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit c4b17fb

Please sign in to comment.