lib/potassium/assets/.circleci/config.yml.erb in potassium-6.7.0 vs lib/potassium/assets/.circleci/config.yml.erb in potassium-7.0.0

- old
+ new

@@ -115,10 +115,18 @@ 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: Update repo analyzer gem + command: bundle update --conservative repo_analyzer + + - run: + name: POST extracted data to nest + command: bin/rake "repo_analyzer:analyze[platanus/<%= get(:app_name) %>]" + + - run: name: Run simplecov shell: /bin/bash command: | cat coverage/coverage.txt | ./bin/reviewdog -reporter=github-pr-review -efm="%f:%l:%c: %m" @@ -127,17 +135,15 @@ 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 - <%- if selected?(:front_end, :vue) -%> - - run: - name: Run jest - command: | - yarn run test > coverage/input_jest.txt - ./node_modules/.bin/format-coverage coverage/input_jest.txt coverage/output_jest.txt /home/circleci/project/app/javascript - cat coverage/output_jest.txt | ./bin/reviewdog -reporter=github-pr-review -efm="%f:%l:%c: %m" - <%- end -%> + - run: + name: Run vitest + command: | + yarn run test > coverage/input_vitest.txt + ./node_modules/.bin/format-coverage coverage/input_vitest.txt coverage/output_vitest.txt /home/circleci/project/app/frontend + cat coverage/output_vitest.txt | ./bin/reviewdog -reporter=github-pr-review -efm="%f:%l:%c: %m" - store_test_results: path: test_results lint: