Update pytest workflow and Makefile for CI

This commit is contained in:
2024-01-25 10:25:30 -05:00
parent 510286e917
commit 36a17ea432
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ jobs:
run: pipenv install --dev && pip install pytest run: pipenv install --dev && pip install pytest
# You can test your matrix by printing the current Python version # You can test your matrix by printing the current Python version
- name: Run the tests with pytest - name: Run the tests with pytest
run: pipenv run make test run: pipenv run make ci
env: env:
NEON_API_KEY: ${{ secrets.NEON_API_KEY }} NEON_API_KEY: ${{ secrets.NEON_API_KEY }}
+3
View File
@@ -1,6 +1,9 @@
test: test:
pytest --record-mode=none tests/ pytest --record-mode=none tests/
ci:
pytest --cov=neon_client --record-mode=none tests/
test-build: test-build:
pytest --record-mode=rewrite tests/ pytest --record-mode=rewrite tests/