lib/potassium/assets/.circleci/config.yml.erb in potassium-6.6.0 vs lib/potassium/assets/.circleci/config.yml.erb in potassium-6.7.0
- old
+ new
@@ -115,22 +115,22 @@
RSPEC_JUNIT_ARGS="-r rspec_junit_formatter -f RspecJunitFormatter -o test_results/rspec.xml"
RSPEC_FORMAT_ARGS="-f progress --no-color -p 10"
bundle exec rspec spec $RSPEC_FORMAT_ARGS $RSPEC_JUNIT_ARGS
- run:
+ name: Run simplecov
+ shell: /bin/bash
+ command: |
+ cat coverage/coverage.txt | ./bin/reviewdog -reporter=github-pr-review -efm="%f:%l:%c: %m"
+
+ - run:
name: Run RSpec system tests
command: |
RSPEC_JUNIT_ARGS="-r rspec_junit_formatter -f RspecJunitFormatter -o test_results/rspec-system.xml"
RSPEC_FORMAT_ARGS="--tag type:system -f progress --no-color -p 10"
bundle exec rspec spec $RSPEC_FORMAT_ARGS $RSPEC_JUNIT_ARGS
- - run:
- name: Run simplecov
- shell: /bin/bash
- command: |
- cat coverage/coverage.txt | ./bin/reviewdog -reporter=github-pr-review -efm="%f:%l:%c: %m"
-
<%- if selected?(:front_end, :vue) -%>
- run:
name: Run jest
command: |
yarn run test > coverage/input_jest.txt
@@ -163,17 +163,30 @@
command: |
cat tmp/files_to_lint | grep -E '.+\.(js|jsx|vue)$' | xargs yarn run eslint \
| ./bin/reviewdog -reporter=github-pr-review -f=eslint
- run:
+ name: Run tsc
+ shell: /bin/bash
+ command: |
+ yarn run tsc --noEmit | ./bin/reviewdog -reporter=github-pr-review -f=tsc
+
+ - run:
+ name: Run vue-tsc
+ shell: /bin/bash
+ command: |
+ yarn run vue-tsc --noEmit | ./bin/reviewdog -reporter=github-pr-review -f=tsc
+
+ - run:
name: Run stylelint
shell: /bin/bash
command: |
cat tmp/files_to_lint | grep -E '.+\.(scss|css|less)$' | xargs yarn run stylelint \
| ./bin/reviewdog -reporter=github-pr-review -f=stylelint
workflows:
test_and_lint:
jobs:
- - test
+ - test:
+ context: org-global
- lint:
context: org-global