Skip to content

Commit a0c6979

Browse files
committed
ci: fix ansible-test
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
1 parent 01a8347 commit a0c6979

4 files changed

Lines changed: 1068 additions & 50 deletions

File tree

.github/workflows/ansible-test.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2025 VEXXHOST, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
name: ci
5+
6+
on:
7+
pull_request:
8+
push:
9+
branches: [main]
10+
11+
permissions: {}
12+
13+
jobs:
14+
ansible-test:
15+
runs-on: ubuntu-latest
16+
permissions:
17+
checks: write
18+
steps:
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
21+
- run: uv run ansible-galaxy collection install .
22+
- run: uv run ansible-test units
23+
working-directory: /home/runner/.ansible/collections/ansible_collections/vexxhost/containers
24+
- uses: mikepenz/action-junit-report@a83fd2b5d58d4fc702e690c1ea688d702d28d281 # v5.6.1
25+
if: always()
26+
with:
27+
report_paths: /home/runner/.ansible/collections/ansible_collections/vexxhost/containers/tests/output/junit/*.xml

pyproject.toml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[project]
2+
name = "ansible-collection-kubernetes"
3+
version = "0.0.0"
4+
authors = [{ name = "VEXXHOST, Inc.", email = "support@vexxhost.com" }]
5+
description = "Ansible collection for deploying Kubernetes clusters"
6+
readme = "README.md"
7+
requires-python = ">=3.10"
8+
license = "Apache-2.0"
9+
classifiers = [
10+
"Development Status :: 5 - Production/Stable",
11+
"Environment :: OpenStack",
12+
"Intended Audience :: Information Technology",
13+
"Intended Audience :: System Administrators",
14+
"Operating System :: POSIX :: Linux",
15+
"Programming Language :: Python",
16+
"Programming Language :: Python :: 3",
17+
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: Implementation :: CPython",
21+
]
22+
23+
[dependency-groups]
24+
dev = [
25+
"molecule>=25.5.0",
26+
"molecule-plugins[docker]>=23.7.0",
27+
"pytest>=8.4.1",
28+
"pytest-forked>=1.6.0",
29+
"pytest-xdist>=3.7.0",
30+
]
31+
32+
[tool.uv]
33+
package = false

0 commit comments

Comments
 (0)