Skip to content

Commit

Permalink
Run markdown lint on the compiled pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Mar 17, 2019
1 parent 65f1399 commit 65a1964
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ install:
- sudo apt-get install npm && npm install -g markdownlint-cli # For documentation linting

script:
# Test the main code in this repo
- pytest --cov=nf_core .
- markdownlint . -c ${TRAVIS_BUILD_DIR}/.github/markdownlint.yml
# Test the pipeline template code
- nf-core create -n testpipeline -d "This pipeline is for testing" -a "Testing McTestface"
- nf-core lint nf-core-testpipeline
- markdownlint . -c ${TRAVIS_BUILD_DIR}/.github/markdownlint.yml
- markdownlint nf-core-testpipeline -c nf-core-testpipeline/.github/markdownlint.yml

after_success:
- codecov --rcfile=${TRAVIS_BUILD_DIR}/.github/coveragerc
Expand Down

0 comments on commit 65a1964

Please sign in to comment.