Merge pull request #2522 from sebix/docs #1891
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
#Github Workflow to run ansible tests | |
# | |
#SPDX-FileCopyrightText: 2021 Birger Schacht <[email protected]> | |
#SPDX-License-Identifier: AGPL-3.0-or-later | |
# | |
name: "Run ansible tests" | |
on: | |
push: | |
branches: [develop, maintenance, master] | |
paths-ignore: | |
- '.github/**' | |
pull_request: | |
branches: [develop, maintenance] | |
paths-ignore: | |
- '.github/**' | |
jobs: | |
ansible: | |
# temporary fix for https://github.com/actions/virtual-environments/issues/3080 | |
runs-on: ubuntu-22.04 | |
name: Run ansible tests | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
path: ./src/intelmq | |
- name: Checkout ansible scripts | |
uses: actions/checkout@v3 | |
with: | |
repository: certtools/intelmq-vagrant | |
path: ./src/intelmq-vagrant | |
- name: Run ansible tests | |
run: podman run -e CI=${CI} -v ${GITHUB_WORKSPACE}/src:/src docker.io/debian:bullseye-slim /src/intelmq/.github/workflows/scripts/ansible.sh |