Bump versions for testing empty input problem #141
Workflow file for this run
This file contains hidden or 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: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
NU_VERSION: 0.102.0 | |
BASH_ENV_JSON_VERSION: 0.10.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: 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: | | |
# note that Nushell doesn't like relative paths on the $PATH | |
export PATH=$(pwd)/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" |