summaryrefslogtreecommitdiffstats
path: root/ansible_collections/inspur/ispim/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/inspur/ispim/.github
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/inspur/ispim/.github')
-rw-r--r--ansible_collections/inspur/ispim/.github/settings.yml5
-rw-r--r--ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml52
2 files changed, 57 insertions, 0 deletions
diff --git a/ansible_collections/inspur/ispim/.github/settings.yml b/ansible_collections/inspur/ispim/.github/settings.yml
new file mode 100644
index 000000000..b27b575f0
--- /dev/null
+++ b/ansible_collections/inspur/ispim/.github/settings.yml
@@ -0,0 +1,5 @@
+# DO NOT MODIFY
+
+# Settings: https://probot.github.io/apps/settings/
+# Pull settings from https://github.com/ansible-collections/.github/blob/master/.github/settings.yml
+_extends: ".github"
diff --git a/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml b/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml
new file mode 100644
index 000000000..739073dbf
--- /dev/null
+++ b/ansible_collections/inspur/ispim/.github/workflows/ansible-test.yml
@@ -0,0 +1,52 @@
+name: CI
+on:
+ pull_request:
+ push:
+ # Run CI once per day (at 06:00 UTC)
+ # This ensures that even if there haven't been commits that we are still testing against latest version of ansible-test for each ansible-base version
+ schedule:
+ - cron: '0 6 * * *'
+
+jobs:
+ sanity:
+ name: Sanity (${{ matrix.ansible }})
+ strategy:
+ matrix:
+ ansible:
+ - stable-2.10
+ - stable-2.11
+ - stable-2.12
+ - stable-2.13
+ - stable-2.14
+ - devel
+ python-version:
+ - '3.8'
+ - '3.9'
+ - '3.10'
+ exclude:
+ - ansible: stable-2.10
+ python-version: '3.10'
+ - ansible: stable-2.11
+ python-version: '3.10'
+ - ansible: stable-2.14
+ python-version: '3.8'
+ - ansible: devel
+ python-version: '3.8'
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Check out code
+ uses: actions/checkout@v1
+ with:
+ path: ansible_collections/inspur/ispim
+
+ - name: Set up Python (${{ matrix.python-version }})
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Install ansible-base (${{ matrix.ansible }})
+ run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
+
+ - name: Run sanity tests
+ run: ansible-test sanity --docker -v --color