Skip to content

fix(example): render nginx port to config #64

fix(example): render nginx port to config

fix(example): render nginx port to config #64

Workflow file for this run

name: sanity
on:
push:
branches:
- main
pull_request:
env:
NAMESPACE: community
COLLECTION_NAME: upcloud
jobs:
sanity:
name: Sanity test (${{ matrix.version.ansible }})
strategy:
matrix:
version:
- { ansible: stable-2.13, python: "3.10" }
- { ansible: stable-2.14, python: "3.11" }
- { ansible: stable-2.15, python: "3.11" }
- { ansible: devel, python: "3.11" }
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
with:
path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.version.python }}
- name: Install ansible-base (${{ matrix.version.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.version.ansible }}.tar.gz --disable-pip-version-check
- name: Run sanity tests
run: ansible-test sanity --docker -v --color
- name: Test building a release
run: ansible-galaxy collection build