Skip to content

test the default config file in the CI #152

test the default config file in the CI

test the default config file in the CI #152

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: continuous-integration
jobs:
fmt-check-clippy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""
- run: make check
- name: Check Cargo.lock
run: make lock
tests:
strategy:
fail-fast: true
matrix:
platform: [windows-latest, macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
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}