Skip to content

Integration-Test Result #1

Integration-Test Result

Integration-Test Result #1

---
name: Integration-Test Result
on:
schedule:
- cron: "25 6 * * *"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Install dependencies
run: sudo apt install curl jq
shell: bash
- name: Checking job-state
run: >
RESULT="$(curl https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/state?token=${{ secrets.CI_TOKEN_RO }} | jq -r '.state')"
if [[ "$RESULT" == "failed" ]]
then
exit 1
fi
shell: bash