Skip to content

Commit

Permalink
testing pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdinpersson committed Mar 29, 2020
1 parent 5c44458 commit a41b737
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
53 changes: 26 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: python

# Default Python version is usually 2.7
python: 3.5
python: 3.6
python: 3.7

# Install ruby to get gem command
Expand All @@ -24,36 +22,37 @@ install:
#- pip3 install coveralls

script:
- awesome_bot README.md --allow-dupe --allow-redirect
# Dynamic Programming Tests
- python Algorithm_tests/dynamic_programming_tests/knapsack_tests/knapsack_bottomup_test.py
- python Algorithm_tests/dynamic_programming_tests/sequence_alignment/sequence_alignment_test.py
- python Algorithm_tests/dynamic_programming_tests/weighted_interval_scheduling/weighted_interval_scheduling_test.py
pytest
# - awesome_bot README.md --allow-dupe --allow-redirect
# # Dynamic Programming Tests
# - python Algorithm_tests/dynamic_programming_tests/knapsack_tests/knapsack_bottomup_test.py
# - python Algorithm_tests/dynamic_programming_tests/sequence_alignment/sequence_alignment_test.py
# - python Algorithm_tests/dynamic_programming_tests/weighted_interval_scheduling/weighted_interval_scheduling_test.py

# Graph Theory Tests
- python Algorithm_tests/graphtheory_tests/bellman_ford_test.py
- python Algorithm_tests/graphtheory_tests/kahn_topological_ordering_test.py
- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_heap_test.py
- python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_naive_test.py
- python Algorithm_tests/graphtheory_tests/kruskal_unionfind_test.py
- python Algorithm_tests/graphtheory_tests/prims_algorithm_test.py
- python Algorithm_tests/graphtheory_tests/BFS_test.py
- python Algorithm_tests/graphtheory_tests/DFS_test.py
# # Graph Theory Tests
# - python Algorithm_tests/graphtheory_tests/bellman_ford_test.py
# - python Algorithm_tests/graphtheory_tests/kahn_topological_ordering_test.py
# - python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_heap_test.py
# - python Algorithm_tests/graphtheory_tests/Djikstra/djikstra_naive_test.py
# - python Algorithm_tests/graphtheory_tests/kruskal_unionfind_test.py
# - python Algorithm_tests/graphtheory_tests/prims_algorithm_test.py
# - python Algorithm_tests/graphtheory_tests/BFS_test.py
# - python Algorithm_tests/graphtheory_tests/DFS_test.py

# Math tests
- python Algorithm_tests/other_tests/test_binarysearch.py
- python Algorithm_tests/math_tests/intersection_test.py
- python Algorithm_tests/math_tests/union_test.py
# # Math tests
# - python Algorithm_tests/other_tests/test_binarysearch.py
# - python Algorithm_tests/math_tests/intersection_test.py
# - python Algorithm_tests/math_tests/union_test.py

# Cryptography tests
- python Algorithm_tests/cryptology_tests/ceasar_test.py
# # Cryptography tests
# - python Algorithm_tests/cryptology_tests/ceasar_test.py

# "Other" tests
- python Algorithm_tests/other_tests/test_medianmaintenance.py
- python Algorithm_tests/other_tests/test_intervalscheduling.py
# # "Other" tests
# - python Algorithm_tests/other_tests/test_medianmaintenance.py
# - python Algorithm_tests/other_tests/test_intervalscheduling.py

# Sorting tests
- python Algorithm_tests/sorting_tests/test_sorting.py
# # Sorting tests
# - python Algorithm_tests/sorting_tests/test_sorting.py

after_success:
#- coveralls
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pytest]
testpaths =
Algorithms_tests

0 comments on commit a41b737

Please sign in to comment.