Skip to content

Commit 9869e90

Browse files
authored
ci: Gha fix (#787)
* ci: try to fix hang * ci: fix * ci: fix * ci: fix * ci: fix * ci: fix * ci: fix * ci: fix
1 parent 1292076 commit 9869e90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
pip3 install -r requirements.txt
36-
pip3 install -r requirements-dev.txt
36+
pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver
3737
pip3 install --editable .
3838
- name: Execute Python unit tests for code coverage
3939
if: matrix.python-version == '3.5'

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install dependencies
3838
run: |
3939
pip3 install -r requirements.txt
40-
pip3 install -r requirements-dev.txt
40+
pip3 install -r requirements-dev.txt --use-deprecated=legacy-resolver
4141
pip3 install --editable .
4242
- name: Install Semantic Release dependencies
4343
run: |
@@ -64,6 +64,8 @@ jobs:
6464
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
6565
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6666
run: npx semantic-release # --dry-run
67+
- name: Build binary wheel and a source tarball
68+
run: python setup.py sdist
6769
- name: Publish a Python distribution to PyPI # must have built dist before
6870
if: github.event.workflow_run.conclusion == 'success' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6971
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)