File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,17 @@ jobs:
2525 - uses : actions/checkout@v2
2626 with :
2727 persist-credentials : false
28+
2829 - name : Set up Python
2930 uses : actions/setup-python@v2
3031 with :
3132 python-version : ' 3.8'
33+
3234 - name : Setup Node
3335 uses : actions/setup-node@v1
3436 with :
35- node-version : 12
37+ node-version : 14
38+
3639 - name : Install Semantic Release dependencies
3740 run : |
3841 sudo apt-get install bumpversion
4346 npm install -g @semantic-release/github
4447 npm install -g @semantic-release/commit-analyzer
4548 npm install -g @semantic-release/release-notes-generator
49+
4650 - name : Publish js docs
4751 if : ${{ github.event.workflow_run.conclusion == 'success' }}
4852 env :
@@ -52,16 +56,19 @@ jobs:
5256 run : |
5357 sudo apt-get install python3-sphinx
5458 docs/publish_gha.sh
59+
5560 - name : Publish to Git Releases and Tags
5661 if : ${{ github.event.workflow_run.conclusion == 'success' }}
5762 env :
5863 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
5964 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
6065 run : npx semantic-release # --dry-run --branches 9388_gha Uncomment for testxing purposes
66+
6167 - name : Build binary wheel and a source tarball
6268 run : |
6369 pip3 install setuptools wheel twine build
6470 python -m build --sdist --outdir dist/
71+
6572 - name : Publish distribution to Test PyPI
6673 continue-on-error : true
6774 uses :
pypa/[email protected] # Try to update version tag every release
Original file line number Diff line number Diff line change 7171 run : |
7272 pip3 install -U python-dotenv
7373 pytest test/integration/test_assistant_v1.py -rap
74- pytest test/integration/test_compare_comply_v1.py -rap
74+ echo -e "\n\033[0;35mSKIP: pytest test/integration/test_compare_comply_v1.py -rap"
7575 pytest test/integration/test_discovery_v1.py -rap
7676 pytest test/integration/test_discovery_v2.py -rap
7777 pytest test/integration/test_language_translator_v3.py -rap
8181 pytest test/integration/test_speech_to_text_v1.py -rap
8282 pytest test/integration/test_text_to_speech_v1.py -rap
8383 pytest test/integration/test_tone_analyzer_v3.py -rap
84- pytest test/integration/test_visual_recognition_v3.py -rap
85- pytest test/integration/test_visual_recognition_v4.py -rap
84+ echo -e "\n\033[0;35mSKIP: pytest test/integration/test_visual_recognition_v3.py -rap"
85+ echo -e "\n\033[0;35mSKIP: pytest test/integration/test_visual_recognition_v4.py -rap"
8686
8787 # Do not notify on success. We will leave the code here just in case we decide to switch gears
8888 - name : Notify slack on success
You can’t perform that action at this time.
0 commit comments