Move validate_solutions and add durations flag to pytest.ini (#3704) · foo123/The-Algorithms-Python@b97529d · GitHub
Skip to content

Commit b97529d

Browse files
authored
Move validate_solutions and add durations flag to pytest.ini (TheAlgorithms#3704)
* Move PE validate_solutions to scripts/ directory * Update pytest.ini file with durations settings * Remove codespell and autoblack workflow file * Dependent changes to test config files * Update pytest.ini
1 parent 1cd8e68 commit b97529d

7 files changed

Lines changed: 8 additions & 48 deletions

File tree

.github/workflows/autoblack.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/codespell.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/project_euler.yml

Lines changed: 4 additions & 3 deletions

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Build
1010
install: pip install pytest-cov -r requirements.txt
1111
script:
12-
- pytest --doctest-modules --ignore=project_euler/ --durations=10 --cov-report=term-missing:skip-covered --cov=. .
12+
- pytest --doctest-modules --ignore=project_euler/ --cov-report=term-missing:skip-covered --cov=. .
1313
after_success:
1414
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
1515
notifications:

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
[pytest]
33
markers =
44
mat_ops: mark a test as utilizing matrix operations.
5+
addopts = --durations=10
Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)