Skip to content

chore: add CODEOWNERS file (#14) #38

chore: add CODEOWNERS file (#14)

chore: add CODEOWNERS file (#14) #38

Workflow file for this run

name: sanity
on:
- push
- pull_request
env:
NAMESPACE: community
COLLECTION_NAME: upcloud
jobs:
sanity:
name: Sanity test (${{ matrix.ansible }})
strategy:
matrix:
ansible:
- stable-2.9
- stable-2.10
- stable-2.11
- devel
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: 3.8
- name: Install ansible-base (${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.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