Skip to content

Commit

Permalink
Add coverage for sdk-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Arief Rahmansyah committed Apr 29, 2024
1 parent b2dfa60 commit 6b4596f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/merlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ jobs:
E2E_USE_GOOGLE_OAUTH: false
working-directory: ./python/sdk
run: make unit-test
- uses: codecov/codecov-action@v4
with:
flags: sdk-test-${{ matrix.python-version }}
name: sdk-test-${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
working-directory: ./python/sdk

lint-api:
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions python/sdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ test: type-check

.PHONY: integration-test
integration-test: type-check
@pipenv run pytest -n 8 -m integration -W ignore
@pipenv run pytest -n 8 --cov=merlin -m integration -W ignore

.PHONY: integration-test-no-feast
integration-test-no-feast: type-check
@pipenv run pytest -n 8 -m "not feast" -W ignore
@pipenv run pytest -n 8 --cov=merlin -m "not feast" -W ignore

.PHONY: local-server-test
local-server-test: type-check
@pipenv run pytest -n 8 -m local_server_test -W ignore
@pipenv run pytest -n 8 --cov=merlin -m local_server_test -W ignore

.PHONY: unit-test
unit-test: type-check
@pipenv run pytest -n 1 -m "not integration" -W ignore
@pipenv run pytest -n 1 --cov=merlin -m "not integration" -W ignore

0 comments on commit 6b4596f

Please sign in to comment.