Skip to content

Commit b3254c3

Browse files
authored
Merge pull request #67 from plopoyop/fix/ci-tests
Fix molecule tests
2 parents edc3e19 + ed5b03d commit b3254c3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/test-roles.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
name: Test roles
33

4-
on: # yamllint disable-line rule:truthy
4+
on:
5+
workflow_dispatch:
56
push:
67
branches: [main]
78
paths:

devenv.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,13 @@
6060
6161
mkdir -p $ANSIBLE_ROLES_PATH
6262
mkdir -p $ANSIBLE_COLLECTIONS_PATH
63+
64+
export ANSIBLE_ROLES_PATH=$ANSIBLE_ROLES_PATH:$PWD/.devenv/ansible/roles
65+
66+
echo $GITHUB_WORKSPACE
67+
if [ -n "$GITHUB_WORKSPACE" ]; then
68+
export ANSIBLE_ROLES_PATH=$ANSIBLE_ROLES_PATH:$GITHUB_WORKSPACE/roles
69+
fi
70+
echo $ANSIBLE_ROLES_PATH
6371
'';
6472
}

0 commit comments

Comments
 (0)