Skip to content

Commit 818eda9

Browse files
committed
fix(ci): create role symlink in workflow instead of tracking it
Create tests/roles/ansible-mdadm symlink dynamically in CI workflow to avoid issues with symlink tracking in git.
1 parent cc69178 commit 818eda9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/default.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
python -m pip install --upgrade pip
5858
pip install "ansible-core~=${{ matrix.ansible-version }}.0"
5959
60+
- name: Create role symlink for tests
61+
run: |
62+
mkdir -p tests/roles
63+
ln -s ../../ tests/roles/ansible-mdadm
64+
6065
- name: Run syntax check
6166
run: |
6267
ansible-playbook tests/test.yml -i tests/inventory --syntax-check

0 commit comments

Comments
 (0)