From 5fed72a4945f6f0a52db0c8066d350f1329ade80 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..2889a053f 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: nu -c '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..0e68e009c 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: nu -c '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