increase coverage #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Rego Policies | |
on: | |
push: | |
paths: | |
- 'Terraform_Examples/resource_files/data_label_rego/*' | |
- '.github/workflows/opa.yaml' | |
jobs: | |
Run-OPA-Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: | |
- Terraform_Examples/resource_files/data_label_rego | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup OPA | |
uses: open-policy-agent/setup-opa@v2 | |
with: | |
version: latest | |
- name: Run Rego Policy Tests | |
run: opa test ${{ matrix.package }} -v | |