48
48
bazel build //...
49
49
bazel run @graknlabs_dependencies//tool/checkstyle:test-coverage
50
50
bazel test $(bazel query 'kind(checkstyle_test, //...)') --test_output=errors
51
- test-behaviour :
51
+ test-behaviour-connection :
52
52
image : graknlabs-ubuntu-20.04
53
53
type : foreground
54
54
command : |
@@ -61,10 +61,65 @@ build:
61
61
export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
62
62
bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
63
63
bazel test //tests/behaviour/connection/... --test_output=errors --jobs=1
64
+ test-behaviour-concept :
65
+ image : graknlabs-ubuntu-20.04
66
+ type : foreground
67
+ command : |
68
+ pyenv global 3.6.10
69
+ pip install -r requirements_dev.txt
70
+ sudo unlink /usr/bin/python3
71
+ sudo ln -s $(which python3) /usr/bin/python3
72
+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
73
+ export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
74
+ export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
75
+ bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
64
76
bazel test //tests/behaviour/concept/... --test_output=errors --jobs=1
77
+ test-behaviour-match :
78
+ image : graknlabs-ubuntu-20.04
79
+ type : foreground
80
+ command : |
81
+ pyenv global 3.6.10
82
+ pip install -r requirements_dev.txt
83
+ sudo unlink /usr/bin/python3
84
+ sudo ln -s $(which python3) /usr/bin/python3
85
+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
86
+ export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
87
+ export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
88
+ bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
89
+ bazel test //tests/behaviour/graql/language/match/... --test_output=errors --jobs=1
65
90
bazel test //tests/behaviour/graql/language/get/... --test_output=errors --jobs=1
66
- # TODO: add other Graql Language tests once they stabilise fully
67
- # TODO: remove --jobs=1 from Concept and Graql tests once Grakn runner is parallelisable
91
+ test-behaviour-writable :
92
+ image : graknlabs-ubuntu-20.04
93
+ type : foreground
94
+ command : |
95
+ pyenv global 3.6.10
96
+ pip install -r requirements_dev.txt
97
+ sudo unlink /usr/bin/python3
98
+ sudo ln -s $(which python3) /usr/bin/python3
99
+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
100
+ export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
101
+ export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
102
+ bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
103
+ bazel test //tests/behaviour/graql/language/insert/... --test_output=errors --jobs=1
104
+ bazel test //tests/behaviour/graql/language/delete/... --test_output=errors --jobs=1
105
+ bazel test //tests/behaviour/graql/language/update:checkstyle --test_output=errors --jobs=1
106
+ bazel test //tests/behaviour/graql/language/update:test-core --test_output=errors --jobs=1
107
+ test-behaviour-definable :
108
+ image : graknlabs-ubuntu-20.04
109
+ type : foreground
110
+ command : |
111
+ pyenv global 3.6.10
112
+ pip install -r requirements_dev.txt
113
+ sudo unlink /usr/bin/python3
114
+ sudo ln -s $(which python3) /usr/bin/python3
115
+ sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.6.10/lib/python3.6/site-packages/lsb_release.py
116
+ export ARTIFACT_USERNAME=$REPO_GRAKN_USERNAME
117
+ export ARTIFACT_PASSWORD=$REPO_GRAKN_PASSWORD
118
+ bazel run @graknlabs_dependencies//distribution/artifact:create-netrc
119
+ bazel test //tests/behaviour/graql/language/define:checkstyle --test_output=errors --jobs=1
120
+ bazel test //tests/behaviour/graql/language/define:test-core --test_output=errors --jobs=1
121
+ bazel test //tests/behaviour/graql/language/undefine:checkstyle --test_output=errors --jobs=1
122
+ bazel test //tests/behaviour/graql/language/undefine:test-core --test_output=errors --jobs=1
68
123
test-cluster-failover :
69
124
image : graknlabs-ubuntu-20.04
70
125
type : foreground
@@ -80,7 +135,7 @@ build:
80
135
bazel test //tests:test_cluster_failover --test_output=errors
81
136
deploy-pip-snapshot :
82
137
image : graknlabs-ubuntu-20.04
83
- dependencies : [build, test-behaviour, test-cluster-failover]
138
+ dependencies : [build, test-behaviour-connection, test-behaviour-concept, test-behaviour-match, test-behaviour-writable, test-behaviour-definable , test-cluster-failover]
84
139
filter :
85
140
owner : graknlabs
86
141
branch : master
0 commit comments