Skip to content

Commit

Permalink
Merge pull request #295 from nautobot/develop
Browse files Browse the repository at this point in the history
Develop to main
  • Loading branch information
joewesch committed Dec 13, 2023
2 parents d0e55db + cff85ab commit 084e061
Showing 1 changed file with 50 additions and 5 deletions.
55 changes: 50 additions & 5 deletions .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,55 @@ on: # yamllint disable
types: [published]

jobs:
tests:
uses: ./.github/workflows/tests.yml
lint:
runs-on: "ubuntu-22.04"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v3"
- name: "Install invoke"
run: "pip install -U pip && pip install invoke"
- name: "Linting"
run: "invoke lint"
unit:
runs-on: "ubuntu-22.04"
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
env:
INVOKE_NAUTOBOT_ANSIBLE_PYTHON_VER: "${{ matrix.python-version }}"
steps:
- name: "Check out repository code"
uses: "actions/checkout@v3"
- name: "Install invoke"
run: "pip install -U pip && pip install invoke"
- name: "Tests"
run: "invoke unit"
needs:
- "lint"
integration:
uses: ./.github/workflows/integration_tests.yml
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
nautobot-version:
- "2.0"
ansible-version:
- "2.14"
- "2.15"
with:
full-integration: true
python-version: "${{ matrix.python-version }}"
nautobot-version: "${{ matrix.nautobot-version }}"
ansible-version: "${{ matrix.ansible-version }}"
needs:
- "unit"
publish_github:
name: "Publish to GitHub"
runs-on: "ubuntu-22.04"
Expand All @@ -33,7 +78,7 @@ jobs:
overwrite: true
file_glob: true
needs:
- "tests"
- "integration"
publish_galaxy:
name: "Publish to Ansible Galaxy"
runs-on: "ubuntu-22.04"
Expand Down Expand Up @@ -62,4 +107,4 @@ jobs:
- name: "Publish the collection"
run: "ansible-galaxy collection publish build/*"
needs:
- "tests"
- "integration"

0 comments on commit 084e061

Please sign in to comment.