Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ jobs:

bundle exec rake knapsack:rspec
yarn test
bundle exec slim-lint app/views
- run:
name: Code Climate Test Coverage
command: |
Expand All @@ -171,6 +170,17 @@ jobs:
command: |
aws s3 sync "s3://login-gov-test-coverage/coverage/$CIRCLE_BUILD_NUM" coverage/
./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --input -
lints:
working_directory: ~/identity-idp
executor: ruby_browsers
steps:
- checkout
- bundle-yarn-install
- run:
name: Run Lints
command: |
yarn run lint
bundle exec slim-lint app/views
build-latest-container:
working_directory: ~/identity-idp
docker:
Expand Down Expand Up @@ -271,6 +281,7 @@ workflows:
release:
jobs:
- build
- lints
- build-latest-dev-container:
requires:
- build
Expand Down
7 changes: 0 additions & 7 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ plugins:
- 'app/forms/password_form.rb'
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
eslint:
enabled: true
channel: eslint-6
config:
extensions:
- .js
- .jsx
fixme:
enabled: true
exclude_patterns:
Expand Down