Skip to content

Commit

Permalink
Merge pull request #168 from ansibleguy/fix-contrib-notes+alias-self
Browse files Browse the repository at this point in the history
update lint & unit-test workflows
  • Loading branch information
ansibleguy authored Feb 8, 2025
2 parents 40d2457 + 55935c8 commit 772fe6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ on:
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.yamllint'
- '.pylintrc'
pull_request:
branches: [latest]
paths:
- '**.py'
- '**.yml'
- '.github/workflows/lint.yml'
- 'requirements_lint.txt'
- '.yamllint'
- '.pylintrc'

jobs:
lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
paths:
- '**.py'
- '.github/workflows/unit_test.yml'
- 'pytest.ini'
pull_request:
branches: [latest]
paths:
- '**.py'
- '.github/workflows/unit_test.yml'
- 'pytest.ini'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ansible Collection - ansibleguy.opnsense

[![Lint Test Status](https://badges.ansibleguy.net/opnsense.collection.lint.svg)](https://github.com/ansibleguy/collection_opnsense/blob/latest/scripts/lint.sh)
[![Lint](https://github.com/ansibleguy/collection_opnsense/actions/workflows/lint.yml/badge.svg)](https://github.com/ansibleguy/collection_opnsense/actions/workflows/lint.yml)
[![Unit Test Status](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml/badge.svg)](https://github.com/ansibleguy/collection_opnsense/actions/workflows/unit_test.yml)
[![Ansible Galaxy](https://badges.ansibleguy.net/galaxy.badge.svg)](https://galaxy.ansible.com/ui/repo/published/ansibleguy/opnsense)

Expand Down

0 comments on commit 772fe6c

Please sign in to comment.