Skip to content

Commit 3b3b338

Browse files
committed
add build step
1 parent ec36b3b commit 3b3b338

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ 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.run(*"flit build".split())

0 commit comments

Comments
 (0)