diff --git a/.cirrus.yml b/.cirrus.yml index 3f8b640..2e77dcb 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -97,7 +97,7 @@ FreeBSD_task: - python${PYTHON} -m pip install -e .[testing_only] script: - python${PYTHON} --version - - bork run _test-only + - bork run test # Windows_task: # allow_failures: $CIRRUS_TASK_NAME =~ '.*-rc-.*' diff --git a/pyproject.toml b/pyproject.toml index 4cf1223..4b12f46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,11 +19,9 @@ strip_zipapp_version = true [tool.bork.aliases] # Runs *only* pylint and mypy. (Not the actual tests.) lint = "pytest -k 'pylint or mypy' --pylint --mypy --verbose" -# Runs all tests and pylint. -test = "pytest --pylint --mypy --verbose" -# Runs fast tests, and pylint. -test-fast = "pytest --pylint --mypy --verbose -m 'not slow'" +# Runs all tests. +test = "pytest --verbose" +# Runs fast tests. +test-fast = "pytest --verbose -m 'not slow'" # Runs slow tests. test-slow = "pytest --verbose -m slow" -# Runs fast tests and slow tests, but not pylint. -_test-only = "pytest --verbose" diff --git a/tests/test_cmd_aliases.py b/tests/test_cmd_aliases.py index 692e037..aa95021 100644 --- a/tests/test_cmd_aliases.py +++ b/tests/test_cmd_aliases.py @@ -4,4 +4,4 @@ def test_cmd_aliases(): result = bork_cli("aliases") assert result.exit_code == 0 - assert result.output == 'lint\ntest\ntest-fast\ntest-slow\n_test-only\n' + assert result.output == 'lint\ntest\ntest-fast\ntest-slow\n'