Skip to content

Commit

Permalink
Add build step in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tesujimath committed Aug 22, 2024
1 parent ac57ad5 commit 183acf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
nu --version
bash --version
jq --version
- name: Build
uses: dtolnay/rust-toolchain@stable
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 nu_plugin_bash_env"
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"

0 comments on commit 183acf2

Please sign in to comment.