@@ -10,24 +10,32 @@ matrix:
10
10
# The following files currently fail pytests. See issues: #1016, #1044, #1080
11
11
# Here they are run allow_failures mode and when each passes pytest, it can be
12
12
# 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
14
15
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
16
18
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
18
21
# 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
20
24
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
22
27
script : pytest ${FILE} --doctest-modules
23
- - before_script : FILE=machine_learning/perceptron.py
28
+ - env : FILE=machine_learning/perceptron.py
29
+ before_script : true
24
30
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
26
33
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
28
36
script : pytest ${FILE} --doctest-modules
29
37
allow_failures :
30
- - script : pytest ${FILE} --doctest-modules
38
+ - before_script : true
31
39
before_script :
32
40
- black --check . || true
33
41
- flake8 . --count --select=E9,F401,F63,F7,F82 --show-source --statistics
0 commit comments