triggered by davidbquali #32
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: Run OPA tests | |
run-name: triggered by ${{ github.actor }} | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
Run-OPA-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Setup OPA | |
uses: open-policy-agent/setup-opa@v2 | |
with: | |
version: 0.47.0 | |
- name: Grant execute permission for run OPA tests script | |
run: chmod +x .github/scripts/run_opa_tests.sh | |
- name: Run OPA tests script | |
run: ./.github/scripts/run_opa_tests.sh |