Skip to content

Commit b236686

Browse files
authored
ci: Gha 9926 (#811)
* ci: fix * ci: fix * ci: fix
1 parent f3f537d commit b236686

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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
@@ -43,6 +46,7 @@ jobs:
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

.github/workflows/integration-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
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
@@ -81,8 +81,8 @@ jobs:
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

0 commit comments

Comments
 (0)