Skip to content

Commit

Permalink
fix wf
Browse files Browse the repository at this point in the history
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
  • Loading branch information
rohitthakur2590 committed Nov 27, 2023
1 parent 636453c commit 1d677b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/lint.yml

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: test_collection
name: CI

concurrency:
group: ${{ github.head_ref || github.run_id }}
Expand All @@ -14,9 +14,11 @@ on: # yamllint disable-line rule:truthy


jobs:
ansible-lint:
uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
if: github.event_name != 'schedule'
if: github.event_name != 'pull_request'
sanity:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
unit-galaxy:
Expand All @@ -28,8 +30,9 @@ jobs:
git+https://github.com/ansible-collections/ansible.utils.git
git+https://github.com/ansible-collections/ansible.netcommon.git
all_green:
if: ${{ always() && (github.event_name != 'schedule') }}
if: ${{ always() }}
needs:
- ansible-lint
- changelog
- sanity
- unit-galaxy
Expand All @@ -39,6 +42,7 @@ jobs:
- run: >-
python -c "assert 'failure' not in
set([
'${{ needs.ansible-lint.result }}',
'${{ needs.changelog.result }}',
'${{ needs.sanity.result }}',
'${{ needs.unit-galaxy.result }}',
Expand Down

0 comments on commit 1d677b1

Please sign in to comment.