Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(semgrep): add translation checks for report labels #27280

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

18alantom
Copy link
Member

Add translation checks for report labels

I know this 👇 looks ugly

      - pattern: |
          {..., "label": "...", ...}

but yaml asks me to wrap the pattern in quotes when writing it this way:

      - pattern: {..., "label": "...", ...}

@coveralls
Copy link

coveralls commented Sep 1, 2021

Coverage Status

Coverage increased (+0.01%) to 51.607% when pulling 2038d9d on 18alantom:ci-test-report-translation into ef76f62 on frappe:develop.

path can't be applied on a test id basis
@18alantom
Copy link
Member Author

Screen Shot 2021-09-01 at 13 47 23

@ankush 2 FNs in the tests, this doesn't seem to be happening in erpnext; I ran the rule and checked the output. Any idea why this is happening?

@ankush
Copy link
Member

ankush commented Sep 1, 2021

@18alantom that's probably because test runner is respecting the glob pattern. It's a bug IMO. Ignore it for now.

@ankush ankush merged commit 72ece75 into frappe:develop Sep 1, 2021
frappe-pr-bot pushed a commit to frappe-pr-bot/erpnext that referenced this pull request Sep 1, 2021
* ci(semgrep): add translation checks for report labels

* refactor: shift report tests to it's own yml

path can't be applied on a test id basis

* ci: ignore regional report in translation checks

[skip ci]

(cherry picked from commit 72ece75)
ankush pushed a commit that referenced this pull request Sep 1, 2021
* ci(semgrep): add translation checks for report labels

* refactor: shift report tests to it's own yml

path can't be applied on a test id basis

* ci: ignore regional report in translation checks

[skip ci]

(cherry picked from commit 72ece75)

Co-authored-by: Alan <2.alan.tom@gmail.com>
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
* ci(semgrep): add translation checks for report labels

* refactor: shift report tests to it's own yml

path can't be applied on a test id basis

* ci: ignore regional report in translation checks

[skip ci]
KrithiRamani pushed a commit to KrithiRamani/erpnext that referenced this pull request Mar 14, 2022
…rappe#27286)

* ci(semgrep): add translation checks for report labels

* refactor: shift report tests to it's own yml

path can't be applied on a test id basis

* ci: ignore regional report in translation checks

[skip ci]

(cherry picked from commit 72ece75)

Co-authored-by: Alan <2.alan.tom@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants