File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 12
12
types :
13
13
- published
14
14
15
-
16
15
jobs :
17
16
dist :
18
17
name : Build package
32
31
run : |
33
32
pip install build wheel
34
33
pyproject-build -ws
35
-
34
+
36
35
- name : Check metadata
37
36
run : |
38
37
pip install twine
42
41
with :
43
42
name : build
44
43
path : dist/*
45
-
44
+
46
45
checks :
47
46
name : Check Python ${{ matrix.python-version }}
48
47
needs : [dist]
@@ -66,12 +65,12 @@ jobs:
66
65
path : dist
67
66
68
67
- name : Install build + test dependencies
69
- run : pip install pytest dist/*.whl nbconvert ipykernel
68
+ run : pip install pytest dist/*.whl nbconvert ipykernel literary
70
69
71
70
- name : Test package
72
71
env :
73
- # Set CWD (editable install would normally do this)
74
- PYTHONPATH : " ${{ github.workspace }}/src:${{ github.workspace }}/ examples/src"
72
+ # Set PYTHONPATH to include example
73
+ PYTHONPATH : " ${{ github.workspace }}/examples/src"
75
74
run : literary test --debug
76
75
publish :
77
76
name : Publish to PyPI
You can’t perform that action at this time.
0 commit comments