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