From 36d0710eaf93723c017533e2f96a1161c1c55aae Mon Sep 17 00:00:00 2001 From: Texas Toland Date: Thu, 14 Mar 2024 11:15:08 -0500 Subject: [PATCH] Enable stub and simplify CI command --- .github/workflows/ci.yml | 6 ++++-- .github/workflows/daily.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99bb08209..5f31f2fd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: check-latest: true features: full # dataframe and extra included - name: toolkit check pr - shell: nu {0} + shell: eval 'nu -I "$PWD" {0}' + # nix STUB_IDE_CHECK when nushell/nushell#12208 fixed run: | - nu --commands 'use toolkit.nu *; check pr --and-exit' + use toolkit.nu * + STUB_IDE_CHECK=true check pr --and-exit diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 9c1911e60..3e0706721 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -24,6 +24,8 @@ jobs: check-latest: true features: full # dataframe and extra included - name: toolkit check pr --full - shell: nu {0} + shell: eval 'nu -I "$PWD" {0}' + # nix STUB_IDE_CHECK when nushell/nushell#12208 fixed run: | - nu --commands 'use toolkit.nu *; check pr --full --and-exit' + use toolkit.nu * + STUB_IDE_CHECK=true check pr --full --and-exit