name: Integration - Windows on: workflow_dispatch: pull_request: permissions: contents: read jobs: changes: runs-on: ubuntu-latest permissions: contents: read outputs: windows: ${{ steps.filter.outputs.windows }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 id: filter with: filters: | windows: - "src/sources/windows_event_log/**" - "src/internal_events/windows_event_log.rs" - "src/internal_events/windows.rs" - "src/vector_windows.rs" - "src/service.rs" - "tests/integration/windows-event-log/**" - ".github/workflows/integration_windows.yml" run-test-integration-windows: needs: changes if: needs.changes.outputs.windows == 'true' runs-on: windows-2025-8core timeout-minutes: 60 steps: - name: Checkout branch uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.10" - run: .\scripts\environment\bootstrap-windows-2025.ps1 - name: Run Windows Event Log integration tests run: make test-integration-windows-event-log test-integration-windows: if: always() runs-on: ubuntu-latest needs: run-test-integration-windows steps: - run: | if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then echo "One or more jobs failed or were cancelled" exit 1 fi