mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01:00
add a clone of nu-tests
to run the standard library tests
This commit is contained in:
parent
9c12211564
commit
1b7497c419
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 New Issue
Block a user