Skip to content

Commit a501579

Browse files
authored
Fix broken diff check due to changed output behavior (#54)
After defaulting to inplace stub creation, I think this check no longer picked up differences. `git diff` seems to ignore untracked files. This should correct the location of the written stubs.
1 parent 1e00163 commit a501579

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ jobs:
7373

7474
- name: Compare example stubs
7575
run: |
76-
python -m docstub run -v --config=examples/docstub.toml examples/example_pkg
76+
python -m docstub run -v \
77+
--config=examples/docstub.toml \
78+
--out-dir=examples/example_pkg-stubs \
79+
examples/example_pkg
7780
git diff --exit-code examples/ && echo "Stubs for example_pkg did not change"
7881
7982
- name: Generate stubs for docstub

0 commit comments

Comments
 (0)