Skip to content

test: add ansible 2.16 #65

test: add ansible 2.16

test: add ansible 2.16 #65

Workflow file for this run

---
name: test
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
env:
HERE: "./ansible_collections/delinea/core"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
name: ansible-${{ matrix.ansible }}
timeout-minutes: 10
strategy:
fail-fast: true
matrix:
ansible:
- stable-2.13
- stable-2.14
- stable-2.15
- stable-2.16
- devel
steps:
- name: Pull
uses: actions/checkout@v3
with:
path: ${{ env.HERE }}
- name: Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Aqua
uses: aquaproj/aqua-installer@294926f94b4233f202a2f03875c604f840cfed70 # v2.1.1
continue-on-error: true
with:
aqua_version: v2.21.3
enable_aqua_install: true
aqua_opts: "--tags installfirst"
- name: update-github-path-with-aqua
run: |
echo "${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin/aqua" >> $GITHUB_PATH
- name: aqua-install-tooling
run: |
aqua install --tags installfirst
aqua install --tags tests
- name: Init
run: mage initCI ${{ matrix.ansible }}
- name: Unit
run: mage testUnit
working-directory: ${{ env.HERE }}
- name: Sanity
run: mage testSanity
working-directory: ${{ env.HERE }}
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false