We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9686f85 commit 83ecb68Copy full SHA for 83ecb68
.github/workflows/nushell-tests.yml
@@ -4,16 +4,14 @@ on:
4
workflow_call:
5
inputs:
6
nushell_version:
7
- required: true
8
type: string
9
default: "*"
10
nuunit_version:
11
12
13
default: "master"
14
15
jobs:
16
- basic-usage:
+ unit-tests:
17
runs-on: ubuntu-latest
18
steps:
19
- uses: actions/[email protected]
@@ -23,3 +21,13 @@ jobs:
23
21
- run: |
24
22
nu -c 'http get https://raw.githubusercontent.com/NonlinearFruit/nuUnit/${{ inputs.nuunit_version }}/nuunit.nu | save -f nuunit.nu'
25
nu nuunit.nu
+
+ nu-check:
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/[email protected]
29
+ - uses: hustcer/setup-nu@main
30
+ with:
31
+ version: ${{ inputs.nushell_version }}
32
+ - run: |
33
+ nu -c 'use std assert; ls **/*.nu | get name | each { open $in | nu-check | assert $in }'
0 commit comments