Skip to content

Commit 7b42e2f

Browse files
committed
Merge branch 'main' into improvement/test_controllers adn tidy up a little
2 parents fc74683 + 9d4348d commit 7b42e2f

File tree

273 files changed

+143
-39040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+143
-39040
lines changed

.DS_Store

-6 KB
Binary file not shown.

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'CI'
2+
on:
3+
push:
4+
tags:
5+
- 'v.*'
6+
7+
jobs:
8+
release:
9+
if: startsWith(github.ref, 'refs/tags/')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Build Changelog
13+
id: github_release
14+
uses: mikepenz/release-changelog-builder-action@v1
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
18+
- name: Create Release
19+
uses: actions/create-release@v1
20+
with:
21+
tag_name: ${{ github.ref }}
22+
release_name: ${{ github.ref }}
23+
body: ${{steps.github_release.outputs.changelog}}
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/python-publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Upload Python Package
5+
6+
on:
7+
release:
8+
types: [created]
9+
10+
jobs:
11+
deploy:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.x'
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install setuptools wheel twine
25+
- name: Build and publish
26+
env:
27+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29+
run: |
30+
python setup.py sdist bdist_wheel
31+
twine upload dist/*
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
name: Upload Python Package
5+
6+
on:
7+
# Trigger the workflow on push or pull request,
8+
# but only for the main branch
9+
push:
10+
branches:
11+
- main
12+
pull_request:
13+
branches:
14+
- main
15+
16+
jobs:
17+
deploy:
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Set up Python
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: '3.x'
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install setuptools wheel twine pylint
31+
- name: Analysing the code with pylint
32+
run: |
33+
python -m pylint --fail-under=10 `find -regextype egrep -regex '(.*.py)$'` |
34+
tee pylint.txt
35+
- name: Upload pylint.txt as artifact
36+
uses: actions/upload-artifact@v2
37+
with:
38+
name: pylint report
39+
path: pylint.txt
40+
- name: Build and publish
41+
env:
42+
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
43+
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
44+
run: |
45+
python setup.py sdist bdist_wheel
46+
twine upload --repository testpypi dist/*

.gitignore

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
.idea/
2-
.venv
32
.code
43
dist
54
*.egg-info
65
build
76
.env
87
.ipynb_checkpoints/
9-
__pycache__/
10-
11-
**/received_files/*
12-
libs/om-aries-controller/demo/bob/image_received.png
13-
8+
.venv
149
.vscode/
15-
# exception to the rule
16-
!libs/om-aries-controller/demo/bob/received_files/.gitkeep
17-
18-
**/*.pt
10+
__pycache__/
File renamed without changes.

README.md

Lines changed: 8 additions & 100 deletions

aries_cloudcontroller/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from aries_cloudcontroller.aries_controller import AriesAgentController

0 commit comments

Comments
 (0)