mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Move installer tests to workflow
This commit is contained in:
parent
a7da90d8f6
commit
c738a2f2ed
2 changed files with 21 additions and 4 deletions
13
.github/workflows/templates/ci.yml.jinja
vendored
13
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -39,6 +39,19 @@
|
|||
|
||||
<%- endif %>
|
||||
|
||||
<%- set job_name = "test-windows-installer" %>
|
||||
<%- if includes.get(job_name, True) %>
|
||||
<{ job_name }>:
|
||||
<%- do conclusion_needs.append(job_name) %>
|
||||
name: Installer
|
||||
if: ${{ fromJSON(needs.prepare-workflow.outputs.runners)['github-hosted'] }}
|
||||
uses: ./.github/workflows/test-installer-action-windows.yml
|
||||
needs:
|
||||
- prepare-workflow
|
||||
with:
|
||||
changed-files: ${{ needs.prepare-workflow.outputs.changed-files }}
|
||||
|
||||
<%- endif %>
|
||||
|
||||
<%- set job_name = "prepare-release" %>
|
||||
<%- if includes.get(job_name, True) %>
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
---
|
||||
name: Test Windows Installer
|
||||
|
||||
on: pull_request
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
changed-files:
|
||||
required: true
|
||||
type: string
|
||||
description: JSON string containing information about changed files
|
||||
|
||||
jobs:
|
||||
Test-Windows-Installer:
|
||||
name: Test Windows Installer logic
|
||||
runs-on:
|
||||
- windows-latest
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue