Skip to content

Commit

Permalink
O bash-env-json where art thou?
Browse files Browse the repository at this point in the history
  • Loading branch information
tesujimath committed Oct 20, 2024
1 parent 98e37db commit a020505
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,21 @@ jobs:
nu --version
bash --version
jq --version
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build
- name: Run Plugin 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"
# - name: Install Rust Toolchain
# uses: dtolnay/rust-toolchain@stable
# - name: Build
# run: cargo build
# - name: Run Plugin 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"
- name: Download bash-env-json $BASH_ENV_JSON_VERSION
run: |
curl -L https://github.com/tesujimath/bash-env-json/archive/refs/tags/${BASH_ENV_JSON_VERSION}.tar.gz | tar xzf -
- name: Run Module Tests
run: |
export PATH=./bash-env-json-${BASH_ENV_JSON_VERSION}:./nu-${NU_VERSION}-x86_64-unknown-linux-gnu:$PATH
which bash-env-json
nu --no-config-file --no-history -c "use bash-env.nu ; use tests.nu run_bash_env_tests ; run_bash_env_tests"
nu --no-config-file --no-history -c "use bash-env.nu ; use extra-module-tests.nu ; extra-module-tests"

0 comments on commit a020505

Please sign in to comment.