File tree 3 files changed +27
-2
lines changed
3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ schemaspy.t =pgsql
2
+ schemaspy.host =localhost
3
+ schemaspy.port =5432
4
+ schemaspy.db =test
5
+ schemaspy.u =test
6
+ schemaspy.p =test
7
+ schemaspy.schemas =postgis
8
+ schemaspy.o =./output
9
+ schemaspy.dp =./
Original file line number Diff line number Diff line change 52
52
env :
53
53
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
54
54
GITHUB_TOKEN : ${{ secrets.PUBLIC_GITHUB_TOKEN }}
55
-
56
-
55
+ - name : Visualize DB Schema
56
+ run : |
57
+ pushd $PWD/.bin/schemaspy/
58
+ curl -JLO https://search.maven.org/remotecontent?filepath=org/postgresql/postgresql/$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.jar
59
+ curl -JL https://github.com/schemaspy/schemaspy/releases/download/v${SCHEMASPY_VERSION}/schemaspy-${SCHEMASPY_VERSION}.jar -o schemaspy.jar
60
+ java -jar schemaspy.jar -vizjs
61
+ zip -r schemaspy.zip output/
62
+ popd
63
+ env :
64
+ POSTGRESQL_VERSION : " 42.5.0"
65
+ SCHEMASPY_VERSION : " 6.1.0"
66
+ - name : Archive schemaspy db documentation
67
+ uses : actions/upload-artifact@v3
68
+ with :
69
+ name : database-documentation
70
+ path : .bin/schemaspy/schemaspy.zip
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ modules/play/logs/
7
7
.bin /setup /.idea
8
8
.bin /setup /target
9
9
.bin /setup /project /target
10
+ .bin /schemaspy
11
+ ! .bin /schemaspy /schemaspy.properties
10
12
11
13
# openapi yaml generation
12
14
.bin /mock /yaml
You can’t perform that action at this time.
0 commit comments