Skip to content

Commit 6be7bbd

Browse files
author
CI
committed
testing contionus integration
1 parent 46e3d7d commit 6be7bbd

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/deploy.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: deploy-to-pypi
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branch: [develop]
6+
# release:
7+
# types: [published]
68

79
jobs:
810
release:
@@ -15,15 +17,19 @@ jobs:
1517
with:
1618
python-version: '3.7.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
1719
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
20+
- name: continous integration
21+
run : |
22+
python test/test_adk_local.py
23+
python test/test_adk_remote.py
1824
- name: prepare
1925
run: |
2026
python -m pip install --upgrade pip
2127
pip install wheel twine setuptools
22-
- name: Package and Upload
23-
env:
24-
ADK_VERSION: ${{github.event.release.tag_name }}
25-
TWINE_USERNAME: __token__
26-
TWINE_PASSWORD: ${{secrets.TWINE_TOKEN }}
27-
run: |
28-
python3 setup.py sdist bdist_wheel --universal
29-
twine upload -r pypi dist/*
28+
# - name: Package and Upload
29+
# env:
30+
# ADK_VERSION: ${{github.event.release.tag_name }}
31+
# TWINE_USERNAME: __token__
32+
# TWINE_PASSWORD: ${{secrets.TWINE_TOKEN }}
33+
# run: |
34+
# python3 setup.py sdist bdist_wheel --universal
35+
# twine upload -r pypi dist/*

0 commit comments

Comments
 (0)