Skip to content

Commit

Permalink
Merge pull request #58 from mkoura/mkoura/makefile_create_dirs
Browse files Browse the repository at this point in the history
Create needed directories
  • Loading branch information
mkoura committed Aug 13, 2020
2 parents 2173dc5 + 048617c commit ec69f1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Testing artifacts
.cli_coverage/*
.reports/*

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ install:
python3 -m pip install --upgrade wheel
python3 -m pip install -r requirements-dev.txt

.dirs:
mkdir -p .cli_coverage
mkdir -p .reports

# run all tests
tests:
pytest --cli-coverage-dir .cli_coverage/ --html=report.html --self-contained-html cardano_node_tests
tests: .dirs
pytest --cli-coverage-dir .cli_coverage/ cardano_node_tests --html=.reports/report.html

lint:
pre-commit run -a

0 comments on commit ec69f1c

Please sign in to comment.