Skip to content

Remove obsolete bash_env.sh script #104

Remove obsolete bash_env.sh script

Remove obsolete bash_env.sh script #104

Workflow file for this run

name: test suite
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
NU_VERSION: 0.98.0
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: |
export PATH=./nu-${NU_VERSION}-x86_64-unknown-linux-gnu:$PATH
nu --version
bash --version
jq --version
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build
- name: Run Tests
run: |
export PATH=./nu-${NU_VERSION}-x86_64-unknown-linux-gnu:$PATH
nu --no-config-file --no-history -c "plugin add --plugin-config plugin.msgpackz target/debug/nu_plugin_bash_env"
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"