You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,20 @@ jobs:
33
33
id: checkout
34
34
uses: actions/checkout@v4
35
35
36
-
- name: Test Local Action
37
-
id: test-action
36
+
- name: Test Local Action (Individual File Mode)
37
+
id: test-action-opa-files
38
38
uses: ./
39
39
with:
40
40
path: ./examples
41
41
test_mode: file
42
42
report_untested_files: true
43
-
pr_comment_title: Below is the Action testing on itself with this PR's source code against the `/examples` directory. Confirm it is as expected.
43
+
pr_comment_title: Below is the Action testing on itself with this PR's source code against policies in `/examples` file by file. Confirm it is as expected.
44
+
45
+
- name: Test Local Action (Individual File Mode)
46
+
id: test-action-opa-package
47
+
uses: ./
48
+
with:
49
+
path: ./spacelift_policies
50
+
test_mode: directory
51
+
report_untested_files: true
52
+
pr_comment_title: Below is the Action testing on itself with this PR's source code against `/spacelift_policies` entire package directory. Confirm it is as expected.
0 commit comments