File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed
Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,17 @@ jobs:
2525 command : testspace config url samples.testspace.com
2626 - run :
2727 name : Run rubocop
28- command : bundle exec rubocop --format emacs --out tmp /rubocop.txt || true
28+ command : bundle exec rubocop --format emacs --out reports /rubocop.txt || true
2929 - run :
3030 name : Run SCSS linter
31- command : bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp /scss-lint.txt app/assets/stylesheets/ || true
31+ command : bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports /scss-lint.txt app/assets/stylesheets/ || true
3232 - run :
3333 name : Run brakeman
3434 command : bundle exec brakeman -o tmp/brakeman.json
35- - run : bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp /brakeman_checkstyle.xml
35+ - run : bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > reports /brakeman_checkstyle.xml
3636 - run :
3737 name : Run specs
38- command : CI_REPORTS=reports bundle exec rake minitest test
38+ command : CI_REPORTS=reports/test bundle exec rake minitest test
3939 - run :
4040 name : Send reports to testspace
4141 command : testspace @.testspace.txt
Original file line number Diff line number Diff line change 11## Addding some comments here
2- tmp /rubocop.txt{lint}
3- tmp /brakeman_checkstyle.xml
4- tmp /scss-lint.txt{lint}
2+ reports /rubocop.txt{lint}
3+ reports /brakeman_checkstyle.xml
4+ reports /scss-lint.txt{lint}
55[Tests]reports/TEST*.xml{test}
66coverage/coverage.xml
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ before_script:
1111
1212script :
1313 - bundle install
14- - bundle exec rubocop --format emacs --out tmp /rubocop.txt || true
14+ - bundle exec rubocop --format emacs --out reports /rubocop.txt || true
1515 - bundle exec brakeman -o tmp/brakeman.json
16- - bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp /brakeman_checkstyle.xml
17- - bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp /scss-lint.txt app/assets/stylesheets/ || true
18- - bundle exec rake minitest test
16+ - bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > reports /brakeman_checkstyle.xml
17+ - bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports /scss-lint.txt app/assets/stylesheets/ || true
18+ - CI_REPORTS=reports/test bundle exec rake minitest test
1919
2020after_script :
21- - CI_REPORTS=$PWD/test/reports testspace @.testspace.txt
21+ - testspace @.testspace.txt
Original file line number Diff line number Diff line change 99 - curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
1010 - testspace config url samples.testspace.com
1111 - bundle install
12- - bundle exec rubocop --format emacs --out tmp /rubocop.txt || true
12+ - bundle exec rubocop --format emacs --out reports /rubocop.txt || true
1313 - bundle exec brakeman -o tmp/brakeman.json
14- - bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > tmp /brakeman_checkstyle.xml
15- - bundle exec scss-lint --no-color --format=Stats --format=Default --out=tmp /scss-lint.txt app/assets/stylesheets/ || true
16- - bundle exec rake minitest test
14+ - bundle exec brakeman_translate_checkstyle_format translate --file="tmp/brakeman.json" > reports /brakeman_checkstyle.xml
15+ - bundle exec scss-lint --no-color --format=Stats --format=Default --out=reports /scss-lint.txt app/assets/stylesheets/ || true
16+ - CI_REPORTS=reports/test bundle exec rake minitest test
1717
1818 on_success :
19- - CI_REPORTS=$PWD/test/reports testspace @.testspace.txt
19+ - testspace @.testspace.txt
2020
2121 on_failure :
22- - CI_REPORTS=$PWD/test/reports testspace @.testspace.txt
22+ - testspace @.testspace.txt
You can’t perform that action at this time.
0 commit comments