Skip to content

Commit

Permalink
ci: fix env file and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jason810496 committed Jul 14, 2024
1 parent 435c46a commit 6eba555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
- name: Start PostgreSQL
run: |
cp pgmq_postgres.template.env pgmq_postgres.env
cp pgmq_tests.template.env pgmq_tests.env
make start-db
- name: Run tests and collect coverage
run: poetry run pytest tests --cov=pgmq_sqlalchemy.queue --cov-report=xml
run: poetry run pytest tests --cov=pgmq_sqlalchemy.queue --cov-report=xml -n auto tests
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ doc-build: ## Build the documentation
doc-serve: ## Serve the documentation
cd doc && poetry run sphinx-autobuild -nW . _build

.PHONY: test-local test-docker clear-db start-db
.PHONY: install test-local test-docker test-docker-rebuild clear-db start-db exec-db doc-build doc-serve

# generate help from comments
.PHONY: help
Expand Down

0 comments on commit 6eba555

Please sign in to comment.