File tree 4 files changed +38
-72
lines changed
java/org/utplsql/maven/plugin
resources/unit-tests/include_object
4 files changed +38
-72
lines changed Original file line number Diff line number Diff line change 7
7
branches : [ develop ]
8
8
9
9
workflow_dispatch :
10
+
11
+ repository_dispatch :
12
+ type : [utPLSQL-build,utPLSQL-java-api-build]
10
13
11
14
jobs :
12
15
build :
74
77
if : always()
75
78
with :
76
79
files : target/**/TEST**.xml
80
+
81
+ slack-workflow-status :
82
+ if : always()
83
+ name : Post Workflow Status To Slack
84
+ needs : [ build ]
85
+ runs-on : ubuntu-latest
86
+ steps :
87
+ - name : Slack Workflow Notification
88
+ uses : Gamesight/slack-workflow-status@master
89
+ with :
90
+ # Required Input
91
+ repo_token : ${{secrets.GITHUB_TOKEN}}
92
+ slack_webhook_url : ${{secrets.SLACK_WEBHOOK_URL}}
93
+ # Optional Input
94
+ name : ' Github Actions[bot]'
95
+ icon_url : ' https://octodex.github.com/images/mona-the-rivetertocat.png'
Original file line number Diff line number Diff line change 56
56
MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
57
57
MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
58
58
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
59
+
60
+ slack-workflow-status :
61
+ if : always()
62
+ name : Post Workflow Status To Slack
63
+ needs : [ build ]
64
+ runs-on : ubuntu-latest
65
+ steps :
66
+ - name : Slack Workflow Notification
67
+ uses : Gamesight/slack-workflow-status@master
68
+ with :
69
+ # Required Input
70
+ repo_token : ${{secrets.GITHUB_TOKEN}}
71
+ slack_webhook_url : ${{secrets.SLACK_WEBHOOK_URL}}
72
+ # Optional Input
73
+ name : ' Github Actions[bot]'
74
+ icon_url : ' https://octodex.github.com/images/mona-the-rivetertocat.png'
Original file line number Diff line number Diff line change @@ -322,11 +322,11 @@ public void db_config_using_system_properties() throws Exception {
322
322
}
323
323
324
324
/**
325
- * Exclude object from coverage report
325
+ * DB configuration from System Properties
326
326
* <p>
327
- * Given : a pom.xml with excludeObject set
327
+ * Given : a pom.xml without dbUrl, dbUser and dbPass configured
328
328
* When : pom is read
329
- * Then : excludeObject is present
329
+ * Then : System Properties must be used to configure database
330
330
*/
331
331
@ Test
332
332
public void exclude_object () throws Exception {
@@ -338,23 +338,6 @@ public void exclude_object() throws Exception {
338
338
assertEquals ("app.pkg_test_me,app.test_pkg_test_me" , utPlsqlMojo .excludeObject );
339
339
}
340
340
341
- /**
342
- * Include object from coverage report
343
- * <p>
344
- * Given : a pom.xml with includeObject set
345
- * When : pom is read
346
- * Then : includeObject is present
347
- */
348
- @ Test
349
- public void include_object () throws Exception {
350
- UtPlsqlMojo utPlsqlMojo = createUtPlsqlMojo ("include_object" );
351
- assertNotNull (utPlsqlMojo );
352
-
353
- utPlsqlMojo .execute ();
354
-
355
- assertEquals ("app.pkg_test_me,app.test_pkg_test_me" , utPlsqlMojo .includeObject );
356
- }
357
-
358
341
private UtPlsqlMojo createUtPlsqlMojo (String directory ) throws Exception {
359
342
return (UtPlsqlMojo ) rule .lookupConfiguredMojo (new File ("src/test/resources/unit-tests/" + directory ), "test" );
360
343
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments