-
Notifications
You must be signed in to change notification settings - Fork 44
36 lines (34 loc) · 1.08 KB
/
trigger_scheduled_devel.yml
File metadata and controls
36 lines (34 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: "Scheduled CI - ansible-core devel"
on: # yamllint disable
schedule:
# Run every Wednesday at 03:20 UTC (offset from Monday stable run)
- cron: "20 3 * * 3"
workflow_dispatch:
inputs:
branch:
description: "The ansible-core branch to test against"
required: false
default: "devel"
type: string
env:
ANSIBLE_CORE_BRANCH: "${{ inputs.branch || 'devel' }}"
jobs:
unit:
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
python-version:
- "3.12"
env:
INVOKE_NAUTOBOT_ANSIBLE_PYTHON_VER: "${{ matrix.python-version }}"
# Allow failures — devel breakage is expected and should not block anything
continue-on-error: true
steps:
- name: "Check out repository code"
uses: "actions/checkout@v4"
- name: "Install invoke"
run: "pip install -U pip && pip install invoke packaging"
- name: "Run tests against ansible-core ${{ env.ANSIBLE_CORE_BRANCH }}"
run: "invoke unit --ansible-core-branch ${{ env.ANSIBLE_CORE_BRANCH }} --skip lint"