Skip to content

Commit

Permalink
CPS-432: Checks translations before commit
Browse files Browse the repository at this point in the history
  • Loading branch information
deb1990 committed May 31, 2021
1 parent b07db52 commit 800095c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ jobs:
git clone --depth 1 https://github.com/civicrm/org.civicrm.shoreditch.git
cv en shoreditch civicase
- name: Run translation fixes
working-directory: ${{ env.CIVICRM_EXTENSIONS_DIR }}/uk.co.compucorp.civicase
run: ls & civistrings -o "l10n/civicase.pot" ./ang/ ./api/ ./Civi/ ./CRM/ ./settings/

- name: Run JS unit tests
if: ${{ always() }}
working-directory: ${{ env.CIVICRM_EXTENSIONS_DIR }}/uk.co.compucorp.civicase
run: |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Expand Down

0 comments on commit 800095c

Please sign in to comment.