Skip to content

Commit

Permalink
add a default-config CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Apr 13, 2024
1 parent bf44d75 commit 5cd778d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,28 @@ jobs:
rustflags: ""

- run: make test

default-config:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3

- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""

- name: Install Nushell
uses: hustcer/setup-nu@main
with:
version: '*'

- name: Install nu_plugin_explore
run: make build register

- name: Test the default config
run: |
$env.config.plugins.explore = (open examples/config/default.nuon)
$nu | nu_plugin_explore
shell: nu {0}

0 comments on commit 5cd778d

Please sign in to comment.