Skip to content

Commit

Permalink
Limit concurrency to 4 CPUs and don't collect coverage during validation
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Feb 23, 2024
1 parent 8c83646 commit 7222459
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ pytest-coverage: coverage-erase docs-build pytest-ci

.PHONY: pytest-integration-full
pytest-integration-full:
pytest ${pytest_args} -n auto --live-dbs --etl-settings ${etl_full_yml} test/integration
pytest ${pytest_args} -n 4 --no-cov --live-dbs --etl-settings ${etl_full_yml} test/integration

.PHONY: pytest-validate
pytest-validate:
pudl_check_fks
pytest ${pytest_args} -n auto --live-dbs test/validate
pytest ${pytest_args} -n 4 --no-cov --live-dbs test/validate

# Run the full ETL, generating new FERC & PUDL SQLite DBs and EPA CEMS Parquet files.
# Then run the full integration tests and data validations on all years of data.
Expand All @@ -144,8 +144,8 @@ pytest-validate:
.PHONY: nuke
nuke: coverage-erase docs-build pytest-unit ferc pudl
pudl_check_fks
pytest ${pytest_args} -n auto --live-dbs --etl-settings ${etl_full_yml} test/integration
pytest ${pytest_args} -n auto --live-dbs test/validate
pytest ${pytest_args} -n 4 --live-dbs --etl-settings ${etl_full_yml} test/integration
pytest ${pytest_args} -n 4 --live-dbs test/validate
coverage report

# Check that designated Jupyter notebooks can be run against the current DB
Expand Down

0 comments on commit 7222459

Please sign in to comment.