Skip to content

Commit c109c55

Browse files
committed
ensure plugins are executable in ci
1 parent ca32c31 commit c109c55

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Download testing.nu
2727
run: wget ${{ env.testing-file }}
2828

29+
- name: Ensure plugin is executable
30+
run: chmod +x ./javascript/${{ matrix.plugin }}/${{ matrix.plugin }}.js
31+
2932
- name: Run tests
3033
run: nu -c 'use testing.nu; testing run-tests --path ./javascript/${{ matrix.plugin }} --plugins ["./javascript/${{ matrix.plugin }}/${{ matrix.plugin}}.js"]'
3134

@@ -41,14 +44,19 @@ jobs:
4144

4245
steps:
4346
- uses: actions/checkout@v4
44-
- uses: astral-sh/setup-uv@v5
47+
- uses: actions/setup-python@v5
48+
with:
49+
python-version-file: ".python-version"
4550
- uses: hustcer/setup-nu@v3
4651
with:
4752
version: nightly
4853

4954
- name: Download testing.nu
5055
run: wget ${{ env.testing-file }}
5156

57+
- name: Ensure plugin is executable
58+
run: chmod +x ./python/${{ matrix.plugin }}/${{ matrix.plugin }}.py
59+
5260
- name: Run tests
5361
run: nu -c 'use testing.nu; testing run-tests --path ./python/${{ matrix.plugin }} --plugins ["./python/${{ matrix.plugin }}/${{ matrix.plugin}}.py"]'
5462

0 commit comments

Comments
 (0)