mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-27 05:43:11 +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
|
||||
run: |
|
||||
pip install \
|
||||
"molecule<3.5" \
|
||||
molecule-docker \
|
||||
yamllint \
|
||||
ansible-lint \
|
||||
openshift \
|
||||
jmespath \
|
||||
ansible-core
|
||||
pip install -r molecule/requirements.txt
|
||||
|
||||
- name: Install Collections
|
||||
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
|
||||
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