diff --git a/CHANGELOG.md b/CHANGELOG.md index ffd7fc9b0..88196015a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog 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/), +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] diff --git a/noxfile.py b/noxfile.py index 6fac81a29..9b5b4b0be 100644 --- a/noxfile.py +++ b/noxfile.py @@ -166,7 +166,7 @@ def cover(session): session.run('coverage', 'erase') -@nox.session(python=PYTHON_DEFAULT_VERSION) +@nox.session(python=PYTHON_VERSIONS) def build(session): """Build the distribution.""" # TODO: consider using wheel as well @@ -186,6 +186,10 @@ def build(session): version = os.environ['GITHUB_REF'].replace('refs/tags/v', '') print('::set-output name=version::', version, sep='') + session.cd('dist') # makes local imports impossible + session.run('pip', 'install', glob('b2sdk-*.tar.gz')[0]) + session.run('python', '-c', 'from b2sdk import v0, v1, v2') + @nox.session(python=PYTHON_DEFAULT_VERSION) def doc(session):