Skip to content

Commit

Permalink
Add workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Jan 28, 2025
1 parent 247415d commit dc75389
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,20 @@ jobs:
steps:
- name: "Checkout the source code"
uses: "actions/checkout@v4"

- name: "Install PDK"
run: |
wget https://apt.puppet.com/puppet-tools-release-jammy.deb
dpkg -i puppet-tools-release-jammy.deb
apt-get update
apt-get install -y pdk
- name: "Provision nodes"
run: |
pdk bundle exec rake "litmus:provision_list[default]"
pdk bundle exec rake "litmus:install_agent"
pdk bundle exec rake "litmus:install_module"
- name: "Run Tests"
run: |
pdk bundle exec rake "litmus:acceptance:parallel"

0 comments on commit dc75389

Please sign in to comment.