DEV: Always run all linting tests in GitHub actions, even on failure (#12265)
This means that if you have multiple failures, they can all be seen in a single run
This commit is contained in:
parent
0019e2e110
commit
7a53873568
|
@ -57,15 +57,19 @@ jobs:
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
- name: Rubocop
|
- name: Rubocop
|
||||||
|
if: ${{ always() }}
|
||||||
run: bundle exec rubocop .
|
run: bundle exec rubocop .
|
||||||
|
|
||||||
- name: ESLint (core)
|
- name: ESLint (core)
|
||||||
|
if: ${{ always() }}
|
||||||
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern app/assets/javascripts
|
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern app/assets/javascripts
|
||||||
|
|
||||||
- name: ESLint (core plugins)
|
- name: ESLint (core plugins)
|
||||||
|
if: ${{ always() }}
|
||||||
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern plugins/**/{test,assets}/javascripts
|
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern plugins/**/{test,assets}/javascripts
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
yarn prettier -v
|
yarn prettier -v
|
||||||
yarn prettier --list-different \
|
yarn prettier --list-different \
|
||||||
|
@ -75,13 +79,16 @@ jobs:
|
||||||
"plugins/**/assets/javascripts/**/*.{js,es6}"
|
"plugins/**/assets/javascripts/**/*.{js,es6}"
|
||||||
|
|
||||||
- name: Ember template lint
|
- name: Ember template lint
|
||||||
|
if: ${{ always() }}
|
||||||
run: |
|
run: |
|
||||||
yarn ember-template-lint \
|
yarn ember-template-lint \
|
||||||
app/assets/javascripts \
|
app/assets/javascripts \
|
||||||
plugins/**/assets/javascripts
|
plugins/**/assets/javascripts
|
||||||
|
|
||||||
- name: English locale lint (core)
|
- name: English locale lint (core)
|
||||||
|
if: ${{ always() }}
|
||||||
run: bundle exec ruby script/i18n_lint.rb "config/**/locales/{client,server}.en.yml"
|
run: bundle exec ruby script/i18n_lint.rb "config/**/locales/{client,server}.en.yml"
|
||||||
|
|
||||||
- name: English locale lint (core plugins)
|
- name: English locale lint (core plugins)
|
||||||
|
if: ${{ always() }}
|
||||||
run: bundle exec ruby script/i18n_lint.rb "plugins/**/locales/{client,server}.en.yml"
|
run: bundle exec ruby script/i18n_lint.rb "plugins/**/locales/{client,server}.en.yml"
|
||||||
|
|
Loading…
Reference in New Issue