Skip to content

Commit

Permalink
Merge #216
Browse files Browse the repository at this point in the history
216: bork run test: Actually test the version of Emanate in the directory r=nbraud a=nbraud

Previously, we were testing Emanate as installed, which is very misleading when running tests while developing.

Co-authored-by: nicoo <nicoo@mur.at>
  • Loading branch information
bors[bot] and nbraud authored Feb 2, 2021
2 parents 351e872 + 578ee16 commit 872e6ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Linux_task:
- pip3 install -U .[testing]
script:
- python3 --version
- bork run test
- pytest --verbose

macOS_task:
osx_instance:
Expand All @@ -38,7 +38,7 @@ macOS_task:
- pip3 install -U .[testing]
script:
- python3 --version
- bork run test
- pytest --verbose

FreeBSD_task:
freebsd_instance:
Expand All @@ -59,7 +59,7 @@ FreeBSD_task:
- python${PYTHON} -m pip install .[testing_only]
script:
- python${PYTHON} --version
- bork run test-only
- pytest --verbose

Windows_task:
allow_failures: $CIRRUS_TASK_NAME =~ '.*-rc-.*'
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ main = "emanate.cli:main"

[tool.bork.aliases]
# Runs *only* pylint. (Not the actual tests.)
lint = "pytest -k 'pylint' --pylint --verbose"
lint = "python -m pytest -k 'pylint' --pylint --verbose"
# Runs tests and pylint.
test = "pytest --pylint --verbose"
test-only = "pytest --verbose"
test = "python -m pytest --pylint --verbose"
test-only = "python -m pytest --verbose"
docs = "env PYTHONPATH=./ pdoc3 --html --output-dir ./html --force emanate"

0 comments on commit 872e6ed

Please sign in to comment.