Skip to content

Commit

Permalink
disable some test steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Apr 8, 2020
1 parent b46c095 commit 584d6e2
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ local pipeline(version) = {
"runTest src/census/plugins/__tests__/vue.spec.ts",
"runTest src/census/plugins/__tests__/pg.spec.ts",
"runTest src/census/plugins/__tests__/express.spec.ts",
"runTest src/census/plugins/__tests__/net.spec.ts",
"nyc report --reporter lcov || echo \"No nyc coverage\"",
"./cc-test-reporter after-build --exit-code 0 || echo \"Skipping CC coverage upload\" or upload-coverage || echo \"Skipping CC coverage upload\"",
"runTest src/census/plugins/__tests__/net.spec.ts"
],
environment: {
NODE_ENV: "test",
Expand All @@ -55,10 +53,7 @@ local pipeline(version) = {
OPENCENSUS_REDIS_HOST: "redis",
OPENCENSUS_MONGODB_HOST: "mongodb",
OPENCENSUS_MYSQL_HOST: "mysql",
OPENCENSUS_PG_HOST: "postgres",
CC_TEST_REPORTER_ID: {
from_secret: "code_climate_token"
},
OPENCENSUS_PG_HOST: "postgres"
},
},
],
Expand Down Expand Up @@ -158,13 +153,5 @@ local pipeline(version) = {
path: "secret/drone/npm",
name: "password",
},
},
{
kind: "secret",
name: "code_climate_token",
get: {
path: "secret/drone/codeclimate",
name: "token_apm_node",
},
},
}
]

0 comments on commit 584d6e2

Please sign in to comment.