-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from loadsmart/add-new-builder-and-field-to-en…
…tity Updates lib to have some changes into the setup and add support for account_json client
- Loading branch information
Showing
11 changed files
with
226 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,141 @@ | ||
version: 2 | ||
tag-pattern: &tag-pattern | ||
only: /^\d+\.\d+\.\d+$/ | ||
|
||
jobs: | ||
check: | ||
working_directory: ~/repo | ||
docker: | ||
- image: themattrix/tox | ||
version: 2.1 | ||
|
||
commands: | ||
install-dependencies: | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: test | ||
command: | | ||
make test-all | ||
pip install tox | ||
jobs: | ||
tests37: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.7 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
command: pip install coveralls | ||
|
||
command: tox -e py37 | ||
- store_test_results: | ||
path: build | ||
tests38: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.8 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
name: gen-coverage | ||
command: | | ||
make coverage | ||
command: tox -e py38 | ||
- store_test_results: | ||
path: build | ||
tests39: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.9 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
name: upload-coverage | ||
command: | | ||
if [ $COVERALLS_REPO_TOKEN ]; then | ||
coveralls | ||
fi | ||
command: tox -e py39 | ||
- store_test_results: | ||
path: build | ||
tests310: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.10 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
command: tox -e py310 | ||
- store_test_results: | ||
path: build | ||
tests311: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.11 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
command: tox -e py311 | ||
- store_test_results: | ||
path: build | ||
tests312: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: cimg/python:3.12 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
- run: | ||
command: tox -e py312 | ||
- store_test_results: | ||
path: build | ||
release: | ||
working_directory: /home/circleci/project | ||
docker: | ||
- image: circleci/python:3.7 | ||
- image: cimg/python:3.10 | ||
steps: | ||
- checkout | ||
|
||
- run: | ||
name: release | ||
command: | | ||
make release | ||
command: make release | ||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- "dist" | ||
|
||
workflows: | ||
version: 2 | ||
check-all: | ||
main: | ||
jobs: | ||
- check | ||
check-build-release: | ||
jobs: | ||
- check: | ||
- tests37: | ||
context: org-global | ||
filters: | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- tests38: | ||
context: org-global | ||
filters: | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- tests39: | ||
context: org-global | ||
filters: | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- tests310: | ||
context: org-global | ||
filters: | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- tests311: | ||
context: org-global | ||
filters: | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- tests312: | ||
context: org-global | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
- release: | ||
name: release | ||
context: org-global | ||
requires: | ||
- check | ||
- tests37 | ||
- tests38 | ||
- tests39 | ||
- tests310 | ||
- tests311 | ||
- tests312 | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^\d+\.\d+\.\d+$/ | ||
only: /^\d+\.\d+\.\d+$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
changelogs/unreleased/add-new-builder-and-field-to-entity.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
description: Create new way to create the gmail client. | ||
type: added | ||
pr_number: 29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-r requirements.txt | ||
pytest==7.3.1 | ||
requests==2.31.0 | ||
pytest-cov==4.1.0 | ||
pytest-mock==3.10.0 | ||
pytest-runner==6.0.0 | ||
coverage==7.2.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
requests==2.31.0 | ||
google-api-core==2.10.2 | ||
google-api-python-client==1.12.11 | ||
google-auth==1.35.0 | ||
google-auth-httplib2==0.1.0 | ||
googleapis-common-protos==1.59.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.