forked from nautobot/nautobot-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
207 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ on: # yamllint disable | |
|
||
jobs: | ||
ci: | ||
uses: ./.github/workflows/jobs.yml | ||
uses: ./.github/workflows/jobs.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
name: "Integration Tests" | ||
on: # yamllint disable | ||
workflow_call: | ||
inputs: | ||
# Default options for all jobs | ||
runs_on: | ||
description: "The OS to run the job on" | ||
required: false | ||
default: "ubuntu-20.04" | ||
type: string | ||
|
||
jobs: | ||
integration_ansible_2_14: | ||
runs-on: "${{ inputs.runs_on }}" | ||
env: | ||
INVOKE_NAUTOBOT_ANSIBLE_PYTHON_VER: "${{ matrix.python-version }}" | ||
INVOKE_NAUTOBOT_ANSIBLE_NAUTOBOT_VER: "${{ matrix.nautobot-version }}" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v3" | ||
- name: "Install invoke" | ||
run: "pip install -U pip && pip install invoke" | ||
- name: "Start containers" | ||
run: "invoke start" | ||
- name: "Tests" | ||
run: "invoke integration" | ||
integration_ansible_2_15: | ||
runs-on: "${{ inputs.runs_on }}" | ||
env: | ||
INVOKE_NAUTOBOT_ANSIBLE_PYTHON_VER: "${{ matrix.python-version }}" | ||
INVOKE_NAUTOBOT_ANSIBLE_NAUTOBOT_VER: "${{ matrix.nautobot-version }}" | ||
steps: | ||
- name: "Check out repository code" | ||
uses: "actions/checkout@v3" | ||
- name: "Install invoke" | ||
run: "pip install -U pip && pip install invoke" | ||
- name: "Install ansible-core 2.15" | ||
run: "poetry add ansible-core@~2.15" | ||
- name: "Start containers" | ||
run: "invoke start" | ||
- name: "Tests" | ||
run: "invoke integration" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.