Skip to content

Commit adf3546

Browse files
committed
(ci): Add gitlab-ci
1 parent a33f4be commit adf3546

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/ansible-sanity-test-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ jobs:
3030
3131
- name: Run Ansible test
3232
run: |
33-
source envrc.github
33+
source ci-envrc
3434
make ansible-sanity-test-lint

.gitlab-ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
stages:
2+
- lint
3+
4+
ansible-sanity-test-lint:
5+
image: python:$VERSION
6+
stage: lint
7+
script:
8+
- python -m pip install --upgrade pip
9+
- python -m pip install ansible
10+
- source ci-envrc
11+
- make ansible-sanity-test-lint
12+
parallel:
13+
matrix:
14+
- VERSION: ["3.10", "3.11", "3.12"]
File renamed without changes.

0 commit comments

Comments
 (0)