Skip to content

Commit

Permalink
add @noCIdep jasmine tag to make ./tasks/noci_test.sh work again
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed May 23, 2018
1 parent 28aed69 commit 623146f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/noci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ root=$(dirname $0)/..
# tests that aren't run on CI (yet)

# jasmine specs with @noCI tag
npm run test-jasmine -- --tags=noCI --nowatch || EXIT_STATE=$?
npm run test-jasmine -- --tags=noCI,noCIdep --nowatch || EXIT_STATE=$?

# mapbox image tests take too much resources on CI
#
Expand Down
7 changes: 7 additions & 0 deletions test/jasmine/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ func.defaultConfig = {
// A few tests don't behave well on CI
// add @noCI to the spec description to skip a spec on CI
//
// Although not recommended, some tests "depend" on other
// tests to pass (e.g. the Plotly.react tests check that
// all available traces and transforms are tested). Tag these
// with @noCIdep, so that
// - $ npm run test-jasmine -- tags=noCI,noCIdep
// can pass.
//
// Label tests that require a WebGL-context by @gl so that
// they can be skipped using:
// - $ npm run test-jasmine -- --skip-tags=gl
Expand Down
2 changes: 1 addition & 1 deletion test/jasmine/tests/plot_api_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2560,7 +2560,7 @@ describe('Test plot api', function() {
});
});

describe('Plotly.react', function() {
describe('@noCIdep Plotly.react', function() {
var mockedMethods = [
'doTraceStyle',
'doColorBars',
Expand Down

0 comments on commit 623146f

Please sign in to comment.