test if we can remove compatibility (#7064)

remove compatibility
This commit is contained in:
Eugenio Romano
2021-06-10 14:38:12 +02:00
committed by GitHub
parent 4dc98eb288
commit 558056b05c
125 changed files with 1025 additions and 1017 deletions

View File

@@ -8,9 +8,15 @@ if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,di
exit 1
fi
nx affected:lint --parallel --all --maxParallel=9 && \
npm run lint-e2e && \
npm run stylelint && \
npm run spellcheck && \
npm run license-checker && \
echo "Lint"
nx affected:lint --parallel --all --maxParallel=9
echo "Style Lint"
npm run stylelint
echo "Spell check"
npm run spellcheck
echo "License check"
npm run license-checker
npm run validate-config

View File

@@ -10,7 +10,7 @@ echo "================== AFFECTED_LIBS ${AFFECTED_LIBS} ==================="
echo "================== content-services unit ==================="
if [[ $AFFECTED_LIBS =~ "content-services" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "content-services" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test content-services --watch=false || exit 1;
fi;

View File

@@ -11,14 +11,14 @@ echo "================== AFFECTED_LIBS ${AFFECTED_LIBS} ==================="
echo "================== core unit ==================="
if [[ $AFFECTED_LIBS =~ "core" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "core" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test core --watch=false || exit 1;
fi;
echo "================== extensions unit ==================="
if [[ $AFFECTED_LIBS =~ "extensions" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "extensions" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test extensions --watch=false || exit 1;
fi;

View File

@@ -12,7 +12,7 @@ AFFECTED_LIBS="$(nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain ||
echo "================== AFFECTED_LIBS ${AFFECTED_LIBS} ==================="
echo "================== process-services-cloud unit ==================="
if [[ $AFFECTED_LIBS =~ "process-services-cloud" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "process-services-cloud" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test process-services-cloud --watch=false || exit 1;
fi;

View File

@@ -12,13 +12,13 @@ AFFECTED_LIBS="$(nx affected:libs --base=$BASE_HASH --head=$HEAD_HASH --plain ||
echo "================== AFFECTED_LIBS ${AFFECTED_LIBS} ==================="
echo "================== process-services unit ==================="
if [[ $AFFECTED_LIBS =~ "process-services" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "process-services" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test process-services --watch=false || exit 1;
fi;
echo "================== insights unit ==================="
if [[ $AFFECTED_LIBS =~ "insights" || "${TRAVIS_EVENT_TYPE}" == "push" ]];
if [[ $AFFECTED_LIBS =~ "insights" || "${TRAVIS_EVENT_TYPE}" == "cron" ]];
then
ng test insights --watch=false || exit 1;
fi;