Autoformat with shfmt -i 4 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test suite | |
on: [push, pull_request] | |
env: | |
NU_VERSION: 0.94.1 | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Download Nushell $NU_VERSION | |
run: | | |
curl -L https://github.com/nushell/nushell/releases/download/${NU_VERSION}/nu-${NU_VERSION}-x86_64-unknown-linux-gnu.tar.gz | tar xzf - | |
- name: Version Check | |
run: | | |
./nu-${NU_VERSION}-x86_64-unknown-linux-gnu/nu --version | |
bash --version | |
jq --version | |
- name: Run Tests | |
run: | | |
./nu-${NU_VERSION}-x86_64-unknown-linux-gnu/nu --no-config-file --no-history -c "plugin add --plugin-config plugin.msgpackz nu_plugin_bash_env" | |
./nu-${NU_VERSION}-x86_64-unknown-linux-gnu/nu --no-config-file --no-history -c "plugin use --plugin-config plugin.msgpackz bash_env ; use tests.nu run_bash_env_tests ; run_bash_env_tests" |