Skip to content

Commit

Permalink
Merge pull request #12 from edmondchuc/feat/codecov
Browse files Browse the repository at this point in the history
Update release.yml to run test coverage only on flask_htmx package
  • Loading branch information
edmondchuc authored Jan 20, 2022
2 parents 016b70a + f9875ed commit 8d24902
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Run pytest
run: |
poetry run pytest --cov=./ --cov-report=xml
poetry run pytest --cov=flask_htmx --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,20 @@ Installation
poetry install
Running tests
-------------

.. code-block:: bash
poetry run pytest
Coverage
--------

.. code-block:: bash
poetry run pytest --cov=flask_htmx tests/
Docs
----

Expand Down
20 changes: 0 additions & 20 deletions run.py

This file was deleted.

0 comments on commit 8d24902

Please sign in to comment.