aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-07-03 20:15:44 +0200
committerColin Wilk <colin@wilk.cx>2026-07-03 20:15:44 +0200
commitc88beb44f60e7c66a77b69e3c5f5edec163c1a56 (patch)
tree7a9c2032a5a4232b5e4e855d48756ae89617cb77 /.github/workflows/ci.yml
parent9368443af5c0cdfbadbd54f92814dadce1c4e663 (diff)
downloadansible-role-prometheus-target-c88beb44f60e7c66a77b69e3c5f5edec163c1a56.tar.gz
ansible-role-prometheus-target-c88beb44f60e7c66a77b69e3c5f5edec163c1a56.zip
Add simpler molecule tests
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml92
1 files changed, 0 insertions, 92 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
index da4257f..0000000
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,92 +0,0 @@
----
-name: CI
-
-'on':
- push:
- branches:
- - master
- - dev
- schedule:
- - cron: 0 4 * * 5
-
-defaults:
- run:
- working-directory: kliwniloc.prometheus_target
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - name: Check out the codebase.
- uses: actions/checkout@v2
- with:
- path: kliwniloc.prometheus_target
-
- - name: Set up Python 3.
- uses: actions/setup-python@v2
- with:
- python-version: 3.x
-
- - name: Install test dependencies.
- run: pip3 install yamllint
-
- - name: Lint code.
- run: |
- yamllint .
-
-
- molecule:
- name: Molecule
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- distro:
- - debian:10
- - debian:11
- - debian:latest
- - debian:testing
- - debian:unstable
-
- - ubuntu:18.04
- - ubuntu:20.04
- - ubuntu:22.04
- - ubuntu:23.04
- - ubuntu:latest
-
- - alpine:3.15
- - alpine:3.16
- - alpine:3.17
- - alpine:3.18
- - alpine:latest
-
- - rockylinux:8
- - rockylinux:9
-
- - fedora:36
- - fedora:37
- - fedora:38
- - fedora:latest
-
- - archlinux:latest
-
- steps:
- - name: Check out the codebase.
- uses: actions/checkout@v2
- with:
- path: kliwniloc.prometheus_target
-
- - name: Set up Python 3.
- uses: actions/setup-python@v2
- with:
- python-version: 3.x
-
- - name: Install test dependencies.
- run: pip3 install ansible molecule molecule-plugins[docker] docker pytest testinfra
-
- - name: Run Molecule tests.
- run: molecule test
- env:
- PY_COLORS: '1'
- ANSIBLE_FORCE_COLOR: '1'
- MOLECULE_DISTRO: ${{ matrix.distro }}