Skip to content

Release 1.0.0

Release 1.0.0 #207

Workflow file for this run

name: Test collection
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
on: # yamllint disable-line rule:truthy
pull_request:
branches: [main, cloud_content]
workflow_dispatch:
jobs:
ansible-lint:
uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
cloud_unit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- run: |
python -m pip install --upgrade pip
python -m pip install tox
python -m tox -epy3 -- tests/cloud/
all_green:
if: ${{ always() }}
needs:
- ansible-lint
- changelog
- cloud_unit
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.ansible-lint.result }}',
'${{ needs.changelog.result }}',
'${{ needs.cloud_unit.result }}',
]) == {'success'}"