mirror of
https://github.com/grafana/grafana.git
synced 2026-08-11 13:44:59 -05:00
Chore: Exclude integration tests from running on test-backend step (#50359)
* Chore: Exclude integration tests from running on test-backend step * Remove -v from go test command * Add check to skip integration tests before each integration test * Try to restart pipeline * Retrying to make pipeline run
This commit is contained in:
@@ -502,16 +502,28 @@ def build_plugins_step(edition, sign=False):
|
||||
|
||||
|
||||
def test_backend_step(edition):
|
||||
return {
|
||||
'name': 'test-backend' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'./bin/grabpl test-backend --edition {}'.format(edition),
|
||||
],
|
||||
}
|
||||
if edition == 'oss':
|
||||
return {
|
||||
'name': 'test-backend' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'go test -short -covermode=atomic -timeout=30m ./pkg/...',
|
||||
],
|
||||
}
|
||||
else:
|
||||
return {
|
||||
'name': 'test-backend' + enterprise2_suffix(edition),
|
||||
'image': build_image,
|
||||
'depends_on': [
|
||||
'wire-install',
|
||||
],
|
||||
'commands': [
|
||||
'./bin/grabpl test-backend --edition {}'.format(edition),
|
||||
],
|
||||
}
|
||||
|
||||
def test_backend_integration_step(edition):
|
||||
if edition == 'oss':
|
||||
|
||||
Reference in New Issue
Block a user