-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test only changed projects #1002
Conversation
e8fdd01
to
6dadc38
Compare
@@ -67,7 +67,7 @@ jobs: | |||
run: yarn lint | |||
|
|||
- name: Test | |||
run: yarn test | |||
run: yarn test --since --parallel --include-dependents |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
À chaque push, lerna exécute en parallèle les tests des packages qui ont changé + les packages qui dépendent d’eux. Le changement est évalué par rapport au dernier tag connu c’est-à-dire par rapport à la branche de destination si on est sur une PR.
À voir sur main
comment ça se comporte
@@ -1,5 +1,6 @@ | |||
{ | |||
"name": "@zerologementvacant/e2e", | |||
"version": "0.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Les packages doivent tous avoir une version définie pour être détectés. Idéalement, la même version.
@@ -1,4 +1,5 @@ | |||
{ | |||
"extends": "./tsconfig.json", | |||
"references": [{ "path": "../utils/tsconfig.build.json" }], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C’était manquant et ça causait une erreur de build car la dépendance n’était pas définie
63b6013
to
df059a9
Compare
No description provided.