Skip to content

Commit fd551d8

Browse files
authored
Merge pull request #8 from jppdpf/feature/add-async-support
Feature/add async support
2 parents 7e73795 + b055570 commit fd551d8

File tree

7 files changed

+815
-30
lines changed

7 files changed

+815
-30
lines changed

.github/workflows/Tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This is intended to execute the tests scripts.
2+
name: "Tests"
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
env:
11+
PY_VERSION: 3.6
12+
YK_FACE_BASE_URL: ${{ secrets.YK_FACE_BASE_URL }}
13+
YK_FACE_X_API_KEY: ${{ secrets.YK_FACE_X_API_KEY }}
14+
15+
jobs:
16+
testing:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python ${{ env.PY_VERSION }}
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: ${{ env.PY_VERSION }}
25+
26+
- name: Install dependencies
27+
run: |
28+
pip install -U pip wheel
29+
pip install -e ".[tests]"
30+
31+
- name: Execute Tests
32+
run: pytest ./tests

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## unreleased
9+
10+
### Added
11+
12+
- Added async coverage to all face and group function endpoints.
13+
814
## v0.2.0
915

1016
### Added

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="yk_face",
8-
version="0.2.0",
8+
version="0.3.0",
99
description="Python SDK for the YooniK Face API.",
1010
long_description=long_description,
1111
long_description_content_type="text/markdown",
@@ -15,10 +15,12 @@
1515
license='MIT',
1616
packages=["yk_face"],
1717
install_requires=[
18-
'yk-face-api-model>=2.0.0,<3',
19-
'yk-utils>=1.1.0,<2',
20-
'requests',
18+
'yk-face-api-model>=3.0.0,<4',
19+
'yk-utils>=1.3.1,<2'
2120
],
21+
extras_require={
22+
"tests": ['pytest'],
23+
},
2224
classifiers=[
2325
"Programming Language :: Python :: 3",
2426
"License :: OSI Approved :: MIT License",

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)