Skip to content

Commit 47cbb87

Browse files
authored
Create test task for Docker compose (swiftlang#78)
1 parent d5ee3ae commit 47cbb87

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker-compose.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ services:
3838
&& bundle exec jekyll doctor --source /srv/jekyll --destination /output
3939
&& bundle exec jekyll build --source /srv/jekyll --destination /output"
4040

41+
test:
42+
<<: *common
43+
command: /bin/bash -cl "
44+
bundle check
45+
&& bundle exec jekyll doctor --source /srv/jekyll --destination /output
46+
&& bundle exec jekyll build --source /srv/jekyll --destination /output"
47+
4148
website:
4249
<<: *common
4350
command: /bin/bash -cl "bundle check && bundle exec jekyll serve --source /srv/jekyll --destination /output --host 0.0.0.0 --watch"

0 commit comments

Comments
 (0)