Skip to content

Commit

Permalink
Merge pull request #117 from iovation/3.9-DEV
Browse files Browse the repository at this point in the history
3.9 dev
  • Loading branch information
jnpblrdrgz authored Jan 26, 2021
2 parents 7cc78ac + acbf619 commit d3961eb
Showing 34 changed files with 807 additions and 205 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/test_python_versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Test Python Versions

on: [pull_request, push]

jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, pypy-3.6]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run Unit Tests
run: |
python -m pip install --upgrade pip wheel
python setup.py test
run_ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install --upgrade pipenv
pipenv install --three --dev --ignore-pipfile
- name: Run Coverage
run: |
pipenv run coverage run --source="launchkey" setup.py nosetests
pipenv run coverage report --fail-under=100
- name: Run Linters
run: |
pipenv run flake8 launchkey
pipenv run pylint launchkey
- name: Dependency Check
run: |
pipenv check
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

11 changes: 11 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
CHANGELOG for LaunchKey Python SDK
==================================

3.9.0
-----

* Updated CLI to support separate encryption and signature keys
* Altered JOSE transport to ensure only the designated signing key is used for signing requests
* Added the `add_encryption_private_key` method to all factories and deprecated `add_additional_private_key`
* Added `KeyType` Enum
* Added additional `key_type` parameter to `add_service_public_key`
* Added additional `key_type` parameter to `add_directory_public_key`

3.8.1
-----

8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
ci-py27: test

ci-pypy: test

ci-py35: test

ci-py36: ci

ci-py37: test
@@ -19,7 +13,7 @@ test:

dependencies:
pip install --upgrade pipenv
pipenv install --three --dev
pipenv install --three --dev --ignore-pipfile

coverage:
pipenv run coverage run --source="launchkey" setup.py nosetests
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ flake8 = "~=3.8.3"
pylint = "~=2.5.3"
coverage = "~=4.5.2"
# Tools for multi-environment testing before sending to CI
tox = "~=3.7.0"
tox = "~=3.8.0"
behave = "~=1.2.6"
appium-python-client = "*"
pyhamcrest = "*"
Loading

0 comments on commit d3961eb

Please sign in to comment.