From b473ca6de17c6ce95983762ab5827e8eb895c5a2 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Wed, 14 Feb 2024 21:26:43 -0800 Subject: [PATCH] set -ex ; color rspec --- .github/workflows/pr-checks.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr-checks.yaml b/.github/workflows/pr-checks.yaml index d42b79c..ac1692c 100644 --- a/.github/workflows/pr-checks.yaml +++ b/.github/workflows/pr-checks.yaml @@ -47,6 +47,8 @@ jobs: with: ruby-version: "2.7" bundler-cache: true + - name: Enable rspec color output + run: echo '--force-color' >> ~/.rspec - run: bundle exec rake spec test-acceptance: @@ -61,6 +63,7 @@ jobs: - uses: actions/checkout@v3 - name: Install Puppet run: | + set -ex distro=$(lsb_release -cs) deb_name="${{ matrix.agent }}-release-${distro}.deb" curl -sSO "https://apt.puppet.com/${deb_name}" @@ -74,5 +77,7 @@ jobs: run: sudo /opt/puppetlabs/bin/puppet module install pkg/*.tar.gz - name: Install PDK dependencies run: sudo pdk bundle install + - name: Enable rspec color output + run: echo '--force-color' >> ~/.rspec - name: Run acceptance tests run: sudo pdk bundle exec rake litmus:acceptance:localhost