From 0f1b775e3e174587962acec3674cc3f12ed2aab5 Mon Sep 17 00:00:00 2001 From: Dave Stephens Date: Thu, 18 Feb 2021 23:11:19 +0000 Subject: [PATCH] Add integration test workflow --- .github/workflows/integration.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..c6169a16 --- /dev/null +++ b/.github/workflows/integration.yml @@ -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 \ No newline at end of file