mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
add a clone of nu-tests
to run the standard library tests
This commit is contained in:
parent
9c12211564
commit
1b7497c419
1 changed files with 37 additions and 0 deletions
37
.github/workflows/ci.yml
vendored
37
.github/workflows/ci.yml
vendored
|
@ -194,3 +194,40 @@ jobs:
|
|||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: lcov.info
|
||||
|
||||
std-tests:
|
||||
env:
|
||||
NUSHELL_CARGO_TARGET: ci
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
platform: [windows-latest, macos-latest, ubuntu-20.04]
|
||||
style: [default, dataframe]
|
||||
rust:
|
||||
- stable
|
||||
include:
|
||||
- style: default
|
||||
flags: ""
|
||||
- style: dataframe
|
||||
flags: "--features=dataframe"
|
||||
exclude:
|
||||
# only test dataframes on Ubuntu (the fastest platform)
|
||||
- platform: windows-latest
|
||||
style: dataframe
|
||||
- platform: macos-latest
|
||||
style: dataframe
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Rust toolchain and cache
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1.4.3
|
||||
|
||||
- name: Install nushell
|
||||
run: cargo install --path . ${{ matrix.flags }}
|
||||
|
||||
- name: Standard library tests
|
||||
run: NU_LOG_LEVEL=DEBUG nu crates/nu-utils/standard_library/tests.nu
|
||||
|
|
Loading…
Reference in a new issue