mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 03:23:11 +00:00
Add integration test workflow
This commit is contained in:
parent
a178e016a7
commit
0f1b775e3e
1 changed files with 28 additions and 0 deletions
28
.github/workflows/integration.yml
vendored
Normal file
28
.github/workflows/integration.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
# Controls when the action will run.
|
||||||
|
on:
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
test:
|
||||||
|
name: Test
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Check out the codebase
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python 3
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
|
||||||
|
- name: Install Ansible
|
||||||
|
run: pip3 install ansible
|
||||||
|
|
||||||
|
- name: Run playbook
|
||||||
|
run: ansible-playbook -i inventories/sample/inventory nas.yml
|
Loading…
Reference in a new issue