Skip to content

Commit

Permalink
Fix paths and other tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lagru committed Sep 18, 2024
1 parent c8f8016 commit 550d136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,14 @@ jobs:

- name: Run pytest
run: >-
python -m pytest -ra --cov --cov-report=xml --cov-report=term
--durations=20
python -m pytest --showlocals -ra --cov --cov-report=term
- name: Upload coverage report
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
# TODO upload coverage statistics, and fail on decrease?

- name: Compare example stubs
run: |
python -m docstub -v example/example_pkg
git diff --exit-code example/
python -m docstub -v examples/example_pkg
git diff --exit-code examples/
- name: Generate docstub stubs
run: |
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,7 @@ ignore = [


[tool.docstub.docnames]
[tool.coverage]
run.source = ["src/docstub"]
cst = {import = "libcst", as="cst"}
lark = {import = "lark"}

0 comments on commit 550d136

Please sign in to comment.