Add enum to properties test graph

Also test classes with schema script for now
This commit is contained in:
Gabriel Horner
2023-10-13 17:19:58 -04:00
parent daf4c3e611
commit f8fea1d7b0
2 changed files with 22 additions and 4 deletions

View File

@@ -158,11 +158,15 @@ jobs:
- name: Create DB graph with properties
run: cd scripts && yarn nbb-logseq src/logseq/tasks/db_graph/create_graph_with_properties.cljs ./db-graph-with-props
# TODO: Use a smaller, test-focused graph to test classes
- name: Create DB graph with classes
run: cd scripts && yarn nbb-logseq src/logseq/tasks/db_graph/create_graph_with_schema_org.cljs ./db-graph-with-schema
- name: Fetch deps/db yarn deps
run: cd deps/db && yarn install --frozen-lockfile
- name: Validate created DB graph
run: cd deps/db && yarn nbb-logseq script/validate_client_db.cljs ../../scripts/db-graph-with-props --closed-maps --group-errors
- name: Validate created DB graphs
run: cd deps/db && yarn nbb-logseq script/validate_client_db.cljs ../../scripts/db-graph-with-props ../../scripts/db-graph-with-schema --closed-maps --group-errors
e2e-test:
runs-on: ubuntu-latest