Skip to content

Commit

Permalink
Fix errors in README and add a test to avoid such errors in the future (
Browse files Browse the repository at this point in the history
#1103)

* fixing pypi readme errors and adding a test

Signed-off-by: Amit Sharma <[email protected]>

* installing dynamic versioning

Signed-off-by: Amit Sharma <[email protected]>

---------

Signed-off-by: Amit Sharma <[email protected]>
  • Loading branch information
amit-sharma authored Dec 6, 2023
1 parent e7bd2ad commit e66ed36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ jobs:
- name: Test EconML based functionality
run: poetry run poe test_econml

- name: Test README errors for PyPI
run: |
pip install poetry-dynamic-versioning
pip install twine
poetry-dynamic-versioning
poetry build
twine check dist/*
- name: Notify Discord
if: failure() && github.ref == 'refs/heads/main'
uses: th0th/[email protected]
Expand Down
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ If you face "Solving environment" problems with conda, then try :code:`conda upd
If you prefer to use the latest dev version, your dependency management tool will need to point at our GitHub repository.

.. code:: shell
pip install git+https://github.com/py-why/dowhy@main
**Requirements**

DoWhy requires a few dependencies.
Expand Down

0 comments on commit e66ed36

Please sign in to comment.