Skip to content

Commit 8df7c01

Browse files
authored
Merge pull request #54 from bitpay/SP-715
SP-715 Use the build module since we no longer need setup.py
2 parents 74e69c9 + a23657f commit 8df7c01

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ jobs:
3030
pipenv run mypy --install-types --non-interactive src/
3131
pipenv run mypy -p src
3232
- name: Run unit tests
33-
run: pipenv run pytest -vv -s -m unit
33+
run: pipenv run pytest -vv -s -m unit
34+
- name: Run a test build
35+
run: |
36+
pipenv run pip3 install --upgrade build
37+
pipenv run python -m build

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
with:
1616
python-version: 3.8
1717
- run: |
18-
python setup.py sdist
18+
pip3 install --upgrade build
19+
python -m build
1920
- uses: actions/upload-artifact@v3
2021
with:
2122
path: ./dist

0 commit comments

Comments
 (0)