Skip to content

Commit 7c5b0ad

Browse files
Merge pull request #4 from Quansight/update_pypi
add build step
2 parents cb0abab + 965fd43 commit 7c5b0ad

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
- name: Test with pytest
2121
run: |
2222
nox -s smoke
23-
23+
- name: build package
24+
run: |
25+
nox -s build
2426
- name: Publish package
2527
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
2628
uses: pypa/gh-action-pypi-publish@master

noxfile.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ def install(session):
1616
def smoke(session):
1717
session.install(*"pytest".split())
1818
session.run(*"pytest --skiphdfs upath".split())
19+
20+
21+
@nox.session(python=False)
22+
def build(session):
23+
session.install("flit")
24+
session.run(*"flit build".split())

0 commit comments

Comments
 (0)