Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a41b737

Browse files
testing pytest
1 parent 5c44458 commit a41b737

File tree

2 files changed

+29
-27
lines changed

2 files changed

+29
-27
lines changed

‎.travis.yml‎

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: python
22

33
# Default Python version is usually 2.7
4-
python: 3.5
5-
python: 3.6
64
python: 3.7
75

86
# Install ruby to get gem command
@@ -24,36 +22,37 @@ install:
2422
#- pip3 install coveralls
2523

2624
script:
27-
- awesome_bot README.md --allow-dupe --allow-redirect
28-
# Dynamic Programming Tests
29-
- python Algorithm_tests/dynamic_programming_tests/knapsack_tests/knapsack_bottomup_test.py
30-
- python Algorithm_tests/dynamic_programming_tests/sequence_alignment/sequence_alignment_test.py
31-
- python Algorithm_tests/dynamic_programming_tests/weighted_interval_scheduling/weighted_interval_scheduling_test.py
25+
pytest
26+
# - awesome_bot README.md --allow-dupe --allow-redirect
27+
# # Dynamic Programming Tests
28+
# - python Algorithm_tests/dynamic_programming_tests/knapsack_tests/knapsack_bottomup_test.py
29+
# - python Algorithm_tests/dynamic_programming_tests/sequence_alignment/sequence_alignment_test.py
30+
# - python Algorithm_tests/dynamic_programming_tests/weighted_interval_scheduling/weighted_interval_scheduling_test.py
3231

33-
# Graph Theory Tests
34-
- python Algorithm_tests/graphtheory_tests/bellman_ford_test.py
35-
- python Algorithm_tests/graphtheory_tests/kahn_topological_ordering_test.py
36-
- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_heap_test.py
37-
- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_naive_test.py
38-
- python Algorithm_tests/graphtheory_tests/kruskal_unionfind_test.py
39-
- python Algorithm_tests/graphtheory_tests/prims_algorithm_test.py
40-
- python Algorithm_tests/graphtheory_tests/BFS_test.py
41-
- python Algorithm_tests/graphtheory_tests/DFS_test.py
32+
# # Graph Theory Tests
33+
#- python Algorithm_tests/graphtheory_tests/bellman_ford_test.py
34+
#- python Algorithm_tests/graphtheory_tests/kahn_topological_ordering_test.py
35+
#- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_heap_test.py
36+
#- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_naive_test.py
37+
#- python Algorithm_tests/graphtheory_tests/kruskal_unionfind_test.py
38+
#- python Algorithm_tests/graphtheory_tests/prims_algorithm_test.py
39+
#- python Algorithm_tests/graphtheory_tests/BFS_test.py
40+
#- python Algorithm_tests/graphtheory_tests/DFS_test.py
4241

43-
# Math tests
44-
- python Algorithm_tests/other_tests/test_binarysearch.py
45-
- python Algorithm_tests/math_tests/intersection_test.py
46-
- python Algorithm_tests/math_tests/union_test.py
42+
# # Math tests
43+
#- python Algorithm_tests/other_tests/test_binarysearch.py
44+
#- python Algorithm_tests/math_tests/intersection_test.py
45+
#- python Algorithm_tests/math_tests/union_test.py
4746

48-
# Cryptography tests
49-
- python Algorithm_tests/cryptology_tests/ceasar_test.py
47+
# # Cryptography tests
48+
#- python Algorithm_tests/cryptology_tests/ceasar_test.py
5049

51-
# "Other" tests
52-
- python Algorithm_tests/other_tests/test_medianmaintenance.py
53-
- python Algorithm_tests/other_tests/test_intervalscheduling.py
50+
# # "Other" tests
51+
#- python Algorithm_tests/other_tests/test_medianmaintenance.py
52+
#- python Algorithm_tests/other_tests/test_intervalscheduling.py
5453

55-
# Sorting tests
56-
- python Algorithm_tests/sorting_tests/test_sorting.py
54+
# # Sorting tests
55+
#- python Algorithm_tests/sorting_tests/test_sorting.py
5756

5857
after_success:
5958
#- coveralls

‎pytest.ini‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[pytest]
2+
testpaths =
3+
Algorithms_tests

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /