Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
types: [ opened, reopened, ready_for_review, synchronize ]

jobs:
run-examples:
examples:
runs-on: ${{ matrix.os }}
if: github.event.pull_request.draft == false
strategy:
Expand Down Expand Up @@ -55,3 +55,17 @@ jobs:
- name: Run example
run: |
uv run python examples/${{ matrix.example }}

guardian-examples:
runs-on: ubuntu-latest
needs: examples
if: always()
steps:
- run: echo "${{ needs.examples.result }}"
- name: failing...
if: needs.examples.result == 'failure'
run: exit 1
- name: cancelled or skipped...
if: contains(fromJSON('["cancelled", "skipped"]'), needs.examples.result)
timeout-minutes: 1
run: sleep 90
14 changes: 14 additions & 0 deletions .github/workflows/ci-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,17 @@ jobs:
working-directory: tests/
run: |
uv run pytest integrations/ -vvs

guardian-integration-tests:
runs-on: ubuntu-latest
needs: cpu
if: always()
steps:
- run: echo "${{ needs.cpu.result }}"
- name: failing...
if: needs.cpu.result == 'failure'
run: exit 1
- name: cancelled or skipped...
if: contains(fromJSON('["cancelled", "skipped"]'), needs.cpu.result)
timeout-minutes: 1
run: sleep 90