Skip to content

Commit 6eba555

Browse files
committed
ci: fix env file and Makefile
1 parent 435c46a commit 6eba555

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ jobs:
3535
- name: Start PostgreSQL
3636
run: |
3737
cp pgmq_postgres.template.env pgmq_postgres.env
38+
cp pgmq_tests.template.env pgmq_tests.env
3839
make start-db
3940
- name: Run tests and collect coverage
40-
run: poetry run pytest tests --cov=pgmq_sqlalchemy.queue --cov-report=xml
41+
run: poetry run pytest tests --cov=pgmq_sqlalchemy.queue --cov-report=xml -n auto tests
4142
- name: Upload coverage reports to Codecov with GitHub Action
4243
uses: codecov/codecov-action@v4.2.0
4344
env:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ doc-build: ## Build the documentation
4040
doc-serve: ## Serve the documentation
4141
cd doc && poetry run sphinx-autobuild -nW . _build
4242

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

4545
# generate help from comments
4646
.PHONY: help

0 commit comments

Comments
 (0)