From f3314ef31e92e07622ffc8851b0d361f4afde235 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 5 Aug 2021 23:27:30 +0100 Subject: [PATCH] workflows/tests: Test that `bundle`ing and running some software works - In light of 79441868a6a2e1002d8e080c8045483c41b411e3, to avoid future regressions, I was inspired by the `brew services start` tests in [the `brew services` repo](https://github.com/Homebrew/homebrew-services/blob/master/.github/workflows/tests.yml) to make a very simple functional test that this actually installs what it says it does. --- .github/workflows/tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d479e77d5..b037719eb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,5 +43,11 @@ jobs: - name: Run RSpec tests run: bundle exec rspec + + - name: Test that installing works + run: | + echo 'brew "hello"' > ./Brewfile + brew bundle + hello - uses: codecov/codecov-action@51d810878be5422784e86451c0e7c14e5860ec47