Skip to content

Commit

Permalink
chore: add a dependency of the e2e projects to the database dump
Browse files Browse the repository at this point in the history
This means the tests will not be run from cache if the dump is changed (even
if no code change happens)
  • Loading branch information
jahow committed Aug 26, 2024
1 parent 5773867 commit 58890f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/datahub-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
}
},
"tags": [],
"implicitDependencies": ["datahub"]
"implicitDependencies": ["datahub", "database-dump"]
}
2 changes: 1 addition & 1 deletion apps/metadata-editor-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
}
},
"tags": [],
"implicitDependencies": ["metadata-editor"]
"implicitDependencies": ["metadata-editor", "database-dump"]
}
9 changes: 9 additions & 0 deletions support-services/docker-entrypoint-initdb.d/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "database-dump",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "support-services/docker-entrypoint-initdb.d",
"prefix": "gn-ui",
"targets": {},
"tags": ["scope:support-services"]
}

0 comments on commit 58890f5

Please sign in to comment.