File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 88 schedule :
99 - cron : ' 0 7 * * *' # daily at 07:00 UTC
1010
11- env :
12- testing-file : https://raw.githubusercontent.com/nushell/nushell/6a759abcbd9bdc6fb4bbd60144e309bd1a79786b/crates/nu-std/testing.nu
13-
1411jobs :
1512 build-nu :
1613 name : Build Nushell from `main`
@@ -103,14 +100,18 @@ jobs:
103100 - name : Ensure Nushell binary is executable
104101 run : chmod +x ./nu
105102
106- - name : Download testing.nu
107- run : wget ${{ env.testing-file }}
103+ - name : Checkout testing.nu
104+ uses : actions/checkout@v4
105+ with :
106+ repository : nushell/nushell
107+ sparse-checkout : crates/nu-std/testing.nu
108+ path : .nushell
108109
109110 - name : Ensure plugin is executable
110111 run : chmod +x ${{ matrix.plugin.plugin }}
111112
112113 - name : Run tests
113- run : ./nu -n -c 'use testing.nu; testing run-tests --path ${{ matrix.plugin.tests-dir }} --plugins ["${{ matrix.plugin.plugin }}"]'
114+ run : ./nu -n -c 'use .nushell/crates/nu-std/ testing.nu; testing run-tests --path ${{ matrix.plugin.tests-dir }} --plugins ["${{ matrix.plugin.plugin }}"]'
114115
115116 - if : contains(matrix.plugin.needs, 'rust')
116117 name : Run Rust-based tests
You can’t perform that action at this time.
0 commit comments