diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 570971220..ceee1e473 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -121,3 +121,7 @@ jobs: make install-base make install-test make unit-test + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ba6bcde..076cd0f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.2.2-dev +* **Installing code coverage** + ## 0.2.1 ### Enhancements diff --git a/Makefile b/Makefile index dead73b64..26f945190 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ check-version: ########### .PHONY: unit-test unit-test: - PYTHONPATH=. pytest test/unit + PYTHONPATH=. pytest test/unit --cov --cov-report=xml .PHONY: integration-test integration-test: @@ -144,4 +144,4 @@ integration-test-connectors-src: .PHONY: integration-test-connectors-dest integration-test-connectors-dest: - PYTHONPATH=. pytest --tags destination -sv test/integration/connectors + PYTHONPATH=. pytest --tags destination -sv test/integration/connectors \ No newline at end of file diff --git a/unstructured_ingest/__version__.py b/unstructured_ingest/__version__.py index 9aa970388..0181a21c9 100644 --- a/unstructured_ingest/__version__.py +++ b/unstructured_ingest/__version__.py @@ -1 +1 @@ -__version__ = "0.2.1" # pragma: no cover +__version__ = "0.2.2-dev" # pragma: no cover