From 36a17ea432d36e53c27bf63816ece3f35ea68cdf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 25 Jan 2024 10:25:30 -0500 Subject: [PATCH] Update pytest workflow and Makefile for CI --- .github/workflows/pytest.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 882fe36..e6397ca 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -22,6 +22,6 @@ jobs: run: pipenv install --dev && pip install pytest # You can test your matrix by printing the current Python version - name: Run the tests with pytest - run: pipenv run make test + run: pipenv run make ci env: NEON_API_KEY: ${{ secrets.NEON_API_KEY }} diff --git a/Makefile b/Makefile index 6775852..8c8f108 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ test: pytest --record-mode=none tests/ +ci: + pytest --cov=neon_client --record-mode=none tests/ + test-build: pytest --record-mode=rewrite tests/