mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
* feat: Add Azure RBAC condition parser - declare an `azure-rbac` feature and expose the Azure RBAC module with parser, AST, and YAML-driven tests - extend the shared lexer with RBAC-specific tokens, single-quoted strings, and corrected raw-string spans - verify the parser via comprehensive test cases covering every operator and complex chaining Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com> --------- Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: tests/debug
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
schedule:
|
|
# Run at 8:00 AM every day
|
|
- cron: "0 8 * * *"
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
|
- name: Setup Rust toolchain
|
|
uses: ./.github/actions/toolchains/rust
|
|
- name: Fetch
|
|
run: cargo fetch
|
|
- name: Build (all features)
|
|
run: cargo build --all-features --frozen
|
|
- name: Build
|
|
run: cargo build --frozen
|
|
- name: Test no_std
|
|
run: cargo test --no-default-features --frozen
|
|
- name: Build only std
|
|
run: cargo build --example regorus --no-default-features --features "std" --frozen
|
|
- name: Doc Tests
|
|
run: cargo test --doc --frozen
|
|
- name: Run tests
|
|
run: cargo test --frozen
|
|
- name: Run tests (ACI)
|
|
run: cargo test --test aci --frozen
|
|
- name: Run tests (KATA)
|
|
run: cargo test --test kata --frozen
|
|
- name: Run tests (OPA Conformance)
|
|
run: >-
|
|
cargo test --test opa --frozen --features opa-testutil,serde_json/arbitrary_precision -- $(tr '\n' ' ' < tests/opa.passing)
|
|
- name: Run tests (Azure RBAC)
|
|
run: cargo test --frozen --features azure-rbac
|