Skip to content

Commit

Permalink
Merge pull request #2 from trustification/ghactions
Browse files Browse the repository at this point in the history
gh actions
  • Loading branch information
desmax74 authored Aug 7, 2024
2 parents b0ed21a + 3fce3a1 commit bbd02f1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ansible-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run ansible-lint
on:
push:
pull_request:

jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ansible-lint
run: |
pip install -r requirements-testing.txt
ansible-lint -v
16 changes: 16 additions & 0 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Run ansible-test
on:
push:
pull_request:

jobs:
sanity-test:
runs-on: ubuntu-latest
steps:
- name: Perform testing
uses: ansible-community/ansible-test-gh-action@release/v1
with:
testing-type: sanity
origin-python-version: 3.11
ansible-core-version: stable-2.14

Empty file added CHANGELOG.md
Empty file.

0 comments on commit bbd02f1

Please sign in to comment.