Skip to content

Commit bedae88

Browse files
committed
test additional policies
1 parent 01fb1c5 commit bedae88

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,20 @@ jobs:
3333
id: checkout
3434
uses: actions/checkout@v4
3535

36-
- name: Test Local Action
37-
id: test-action
36+
- name: Test Local Action (Individual File Mode)
37+
id: test-action-opa-files
3838
uses: ./
3939
with:
4040
path: ./examples
4141
test_mode: file
4242
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

Comments
 (0)