mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add alternative test:acceptance:docker command, using separate docker repo
This commit is contained in:
parent
4c0dc5a0ef
commit
c446b20375
1 changed files with 8 additions and 0 deletions
|
@ -82,6 +82,8 @@ module.exports = (grunt) ->
|
|||
"""
|
||||
dockerTests:
|
||||
command: 'docker run -v "$(pwd):/document-updater" --rm --name doc-updater-test sharelatex-docupdater-tests'
|
||||
dockerTests2:
|
||||
command: 'docker run -v "$(pwd):/app" --rm sl-acceptance-test-runner'
|
||||
|
||||
availabletasks:
|
||||
tasks:
|
||||
|
@ -144,6 +146,12 @@ module.exports = (grunt) ->
|
|||
['shell:buildDockerImage', 'shell:dockerTests']
|
||||
)
|
||||
|
||||
grunt.registerTask(
|
||||
'test:acceptance:docker2',
|
||||
"Run acceptance tests inside docker container",
|
||||
['shell:dockerTests2']
|
||||
)
|
||||
|
||||
grunt.registerTask 'test:acceptance', 'Run the acceptance tests (use --grep=<regex> for individual tests)', ['compile:acceptance_tests', 'mochaTest:acceptance']
|
||||
|
||||
grunt.registerTask 'run', "Compile and run the document-updater-sharelatex server", ['compile', 'bunyan', 'execute']
|
||||
|
|
Loading…
Reference in a new issue