Skip to content

Commit eccc77f

Browse files
committed
chore: add gitignore file and requirements.txt
1 parent af390fd commit eccc77f

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: Test module
1+
name: Test modules
22

33
on:
44
workflow_dispatch:
5+
push: # test
56
pull_request:
6-
branches: master
7+
branches:
8+
- master
79

810
jobs:
911
integration-test:
@@ -21,10 +23,9 @@ jobs:
2123

2224
- name: Install Python dependencies
2325
run: |
24-
pip install ansible
25-
pip install requests
26-
python -m pip install --upgrade pip
27-
pip list
26+
python3 -m pip install --upgrade pip
27+
python3 -m pip install -r requirements.txt
28+
python3 -m pip list
2829
2930
- name: Build
3031
id: build

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ repository: https://github.com/Devolutions/ansible-dvls
1616
documentation: https://github.com/Devolutions/ansible-dvls
1717
homepage: https://github.com/Devolutions/ansible-dvls
1818
issues: https://github.com/Devolutions/ansible-dvls/issues
19-
build_ignore: [.github]
19+
build_ignore: [.github, requirements.txt]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
ansible==11.3.0
12
requests==2.32.3

tests/integration/test_create_secret.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
app_secret: "{{ lookup('env', 'DVLS_APP_SECRET') }}"
1010
vault_id: "{{ lookup('env', 'DVLS_VAULT_ID') }}"
1111
secret:
12-
secret_path: "Test-Ansible\\create-secrets"
12+
secret_path: "tests\\create-secrets"
1313
secret_name: "{{ now(fmt='%Y-%m-%d_%H-%M-%S') }}"
1414
value: "{{ now(fmt='%Y-%m-%d_%H-%M-%S') }}"
1515

0 commit comments

Comments
 (0)