Skip to content

Commit

Permalink
set -ex ; color rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
danielparks committed Feb 15, 2024
1 parent 8a28afe commit b473ca6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}"
Expand All @@ -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

0 comments on commit b473ca6

Please sign in to comment.