File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : continuous-integration
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ test-node :
8+ name : test-node-${{ matrix.plugin }}
9+ runs-on : ubuntu-latest
10+
11+ strategy :
12+ matrix :
13+ plugin :
14+ - nu_plugin_node_example
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : volta-cli/action@v4
19+ - uses : hustcer/setup-nu@v3
20+ with :
21+ version : nightly
22+
23+ - name : Download testing.nu
24+ run : wget https://raw.githubusercontent.com/nushell/nushell/6a759abcbd9bdc6fb4bbd60144e309bd1a79786b/crates/nu-std/testing.nu
25+
26+ - name : Run tests
27+ run : nu -c 'use testing.nu; testing run-tests --path ./javascript/${{ matrix.plugin }} --plugins ["./javascript/${{ matrix.plugin }}/${{ matrix.plugin}}.js"]'
28+
29+
30+ test-python :
31+ name : test-python-${{ matrix.plugin }}
32+ runs-on : ubuntu-latest
33+
34+ strategy :
35+ matrix :
36+ plugin :
37+ - nu_plugin_python_example
38+
39+ steps :
40+ - uses : actions/checkout@v4
41+ - uses : astral-sh/setup-uv@v5
42+ - uses : hustcer/setup-nu@v3
43+ with :
44+ version : nightly
45+
46+ - name : Download testing.nu
47+ run : wget https://raw.githubusercontent.com/nushell/nushell/6a759abcbd9bdc6fb4bbd60144e309bd1a79786b/crates/nu-std/testing.nu
48+
49+ - name : Run tests
50+ run : nu -c 'use testing.nu; testing run-tests --path ./python/${{ matrix.plugin }} --plugins ["./python/${{ matrix.plugin }}/${{ matrix.plugin}}.py"]'
51+
You can’t perform that action at this time.
0 commit comments