ovirt-ansible-collection-2.y CI: Disable ansible sanity tests #1274
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- ovirt-ansible-collection-2.y | |
pull_request: | |
branches: | |
- ovirt-ansible-collection-2.y | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: centos-stream-8 | |
shortcut: cs8 | |
container-name: el8stream | |
name: ${{ matrix.name }} | |
container: | |
image: quay.io/ovirt/buildcontainer:${{ matrix.container-name }} | |
steps: | |
- name: Install python3.8 | |
if: ${{ matrix.shortcut == 'cs8' }} | |
run: yum install python38 -y | |
- name: Install python3.8 modules | |
run: | | |
dnf install -y python38-devel python38-pip | |
pip-3.8 install pycodestyle pylint voluptuous yamllint "rstcheck<3.5.0" antsibull-changelog "rich<11.0.0" "ansible-lint>=6.0.0,<7.0.0" cryptography | |
- name: Checkout | |
uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
- name: Run build.sh | |
run: .automation/build.sh | |
- name: Upload artifacts | |
uses: ovirt/upload-rpms-action@main | |
with: | |
directory: exported-artifacts |