@@ -10,24 +10,32 @@ matrix:
1010 # The following files currently fail pytests. See issues: #1016, #1044, #1080
1111 # Here they are run allow_failures mode and when each passes pytest, it can be
1212 # removed BOTH lists below. Complex now but simple once all files pass pytest.
13- - before_script : FILE=data_structures/stacks/balanced_parentheses.py
13+ - env : FILE=data_structures/stacks/balanced_parentheses.py
14+ before_script : true # override main
1415 script : pytest ${FILE} --doctest-modules
15- - before_script : FILE=data_structures/stacks/infix_to_postfix_conversion.py
16+ - env : FILE=data_structures/stacks/infix_to_postfix_conversion.py
17+ before_script : true
1618 script : pytest ${FILE} --doctest-modules
17- # - before_script: FILE=file_transfer_protocol/ftp_client_server.py
19+ # - env: FILE=file_transfer_protocol/ftp_client_server.py
20+ # before_script: true
1821 # script: pytest ${FILE} --doctest-modules
19- - before_script : FILE=file_transfer_protocol/ftp_send_receive.py
22+ - env : FILE=file_transfer_protocol/ftp_send_receive.py
23+ before_script : true
2024 script : pytest ${FILE} --doctest-modules
21- - before_script : FILE=machine_learning/linear_regression.py
25+ - env : FILE=machine_learning/linear_regression.py
26+ before_script : true
2227 script : pytest ${FILE} --doctest-modules
23- - before_script : FILE=machine_learning/perceptron.py
28+ - env : FILE=machine_learning/perceptron.py
29+ before_script : true
2430 script : pytest ${FILE} --doctest-modules
25- - before_script : FILE=machine_learning/random_forest_classification/random_forest_classification.py
31+ - env : FILE=machine_learning/random_forest_classification/random_forest_classification.py
32+ before_script : true
2633 script : pytest ${FILE} --doctest-modules
27- - before_script : FILE=machine_learning/random_forest_regression/random_forest_regression.py
34+ - env : FILE=machine_learning/random_forest_regression/random_forest_regression.py
35+ before_script : true
2836 script : pytest ${FILE} --doctest-modules
2937 allow_failures :
30- - script : pytest ${FILE} --doctest-modules
38+ - before_script : true
3139before_script :
3240 - black --check . || true
3341 - flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
0 commit comments