Skip to content

update corpus tests in 3.2.x #15

update corpus tests in 3.2.x

update corpus tests in 3.2.x #15

Workflow file for this run

name: Run Integration Tests
on:
pull_request:
jobs:
get-branch-name:
runs-on: ubuntu-latest
steps:
- name: Get branch name
shell: bash
# The workflow is triggered by pull_request so we use `GITHUB_BASE_REF`
run: echo "branch_name=${GITHUB_BASE_REF}" >> $GITHUB_OUTPUT
id: get_branch_name
outputs:
branch_name: ${{ steps.get_branch_name.outputs.branch_name }}
test-cedar-policy:
name: Test Rust implementation
needs: get-branch-name
uses: cedar-policy/cedar/.github/workflows/run_integration_tests_reusable.yml@main
with:
cedar_integration_tests_ref: ${{ github.ref }}
cedar_policy_ref: ${{ needs.get-branch-name.outputs.branch_name }}
test-cedar-spec:
name: Test Lean implementation
needs: get-branch-name
uses: cedar-policy/cedar-spec/.github/workflows/run_integration_tests_reusable.yml@main
with:
cedar_integration_tests_ref: ${{ github.ref }}
cedar_spec_ref: ${{ needs.get-branch-name.outputs.branch_name }}