Skip to content

Commit 11e982d

Browse files
authored
Merge pull request #165 from ansibleguy/fix-contrib-notes+alias-self
update functional test-workflows
2 parents 7eeb4df + a9831dc commit 11e982d

File tree

4 files changed

+13
-36
lines changed

4 files changed

+13
-36
lines changed

.github/workflows/integration_test_logs.yml renamed to .github/workflows/functional_test_result.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22

3-
name: Integration-Test Logs
3+
name: Functional-Tests
44

55
on:
66
schedule:
7-
- cron: "24 6 * * *"
7+
- cron: "25 6 * * *"
88
workflow_dispatch:
99

1010
jobs:
@@ -31,3 +31,9 @@ jobs:
3131
name: integration-test-logs
3232
path: /tmp/test.log
3333
retention-days: 14
34+
35+
- name: Checking job-state
36+
run: >
37+
RESULT="$(curl https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/state?token=${{ secrets.CI_TOKEN_RO }} | jq -r '.state')"
38+
if [[ "$RESULT" == "failed" ]]; then exit 1; fi
39+
shell: bash

.github/workflows/integration_test_run.yml renamed to .github/workflows/functional_test_run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
name: Integration-Test Execution
3+
name: Functional-Test Execution
44

55
on: workflow_dispatch
66

.github/workflows/integration_test_result.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
[![Unit Test Status](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml/badge.svg)](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml)
66
[![Ansible Galaxy](https://badges.ansibleguy.net/galaxy.badge.svg)](https://galaxy.ansible.com/ui/repo/published/ansibleguy/opnsense)
77

8-
Functional Test Logs: [Full via API](https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=2b7bba30-9a37-4b57-be8a-99e23016ce70&lines=1000) | [Daily Archive](https://github.com/ansibleguy/collection_opnsense/actions/workflows/integration_test_logs.yml) | [Short](https://badges.ansibleguy.net/log/collection_opnsense_test_short.log) | [Full](https://badges.ansibleguy.net/log/collection_opnsense_test.log)
8+
Functional Tests: [Full via API](https://ci.ansibleguy.net/api/job/ansible-test-collection-opnsense/logs?token=2b7bba30-9a37-4b57-be8a-99e23016ce70&lines=1000) |
9+
[Daily Archive](https://github.com/ansibleguy/collection_opnsense/actions/workflows/functional_test_result.yml)
10+
[![Functional-Tests](https://github.com/ansibleguy/collection_opnsense/actions/workflows/functional_test_result.yml/badge.svg)](https://github.com/ansibleguy/collection_opnsense/actions/workflows/functional_test_result.yml) |
11+
[Short](https://badges.ansibleguy.net/log/collection_opnsense_test_short.log) | [Full](https://badges.ansibleguy.net/log/collection_opnsense_test.log)
912

1013
----
1114

0 commit comments

Comments
 (0)