From 7d384181489261875a1554d64383000360bf0cd9 Mon Sep 17 00:00:00 2001 From: Dana Sherson Date: Mon, 4 Dec 2023 23:16:46 +1300 Subject: [PATCH] What if i do this --- .github/workflows/ci.yml | 3 +-- scripts/{setup_ci.sh => ci.sh} | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{setup_ci.sh => ci.sh} (84%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42dc000..1175e9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true - - run: scripts/setup_ci.sh - - run: bundle exec rspec + - run: scripts/ci.sh spellr: runs-on: ubuntu-latest steps: diff --git a/scripts/setup_ci.sh b/scripts/ci.sh similarity index 84% rename from scripts/setup_ci.sh rename to scripts/ci.sh index 7ae7ba2..c0e9fe5 100755 --- a/scripts/setup_ci.sh +++ b/scripts/ci.sh @@ -4,3 +4,4 @@ ln -s $PWD ~/.dotfiles ~/.dotfiles/scripts/install.sh git config --global commit.gpgsign false +bash -lc 'bundle exec rspec'