mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 22:33:35 +00:00
Move test requirements out of github action workflow
This commit is contained in:
11
.github/workflows/ci.yaml
vendored
11
.github/workflows/ci.yaml
vendored
@@ -24,18 +24,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install \
|
pip install -r molecule/requirements.txt
|
||||||
"molecule<3.5" \
|
|
||||||
molecule-docker \
|
|
||||||
yamllint \
|
|
||||||
ansible-lint \
|
|
||||||
openshift \
|
|
||||||
jmespath \
|
|
||||||
ansible-core
|
|
||||||
|
|
||||||
- name: Install Collections
|
- name: Install Collections
|
||||||
run: |
|
run: |
|
||||||
ansible-galaxy collection install community.general kubernetes.core:1.2.1 operator_sdk.util community.docker
|
ansible-galaxy collection install -r molecule/requirements.yml
|
||||||
|
|
||||||
- name: Run Molecule
|
- name: Run Molecule
|
||||||
env:
|
env:
|
||||||
|
|||||||
7
molecule/requirements.txt
Normal file
7
molecule/requirements.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
molecule
|
||||||
|
molecule-docker
|
||||||
|
yamllint
|
||||||
|
ansible-lint
|
||||||
|
openshift
|
||||||
|
jmespath
|
||||||
|
ansible-core
|
||||||
8
molecule/requirements.yml
Normal file
8
molecule/requirements.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
collections:
|
||||||
|
- name: community.general
|
||||||
|
- name: kubernetes.core
|
||||||
|
version: 1.2.1
|
||||||
|
- name: operator_sdk.util
|
||||||
|
- name: community.docker
|
||||||
|
- name: awx.awx
|
||||||
Reference in New Issue
Block a user