Skip to content

Commit dc75389

Browse files
committed
Add workflow to run tests
1 parent 247415d commit dc75389

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,20 @@ jobs:
1414
steps:
1515
- name: "Checkout the source code"
1616
uses: "actions/checkout@v4"
17+
18+
- name: "Install PDK"
19+
run: |
20+
wget https://apt.puppet.com/puppet-tools-release-jammy.deb
21+
dpkg -i puppet-tools-release-jammy.deb
22+
apt-get update
23+
apt-get install -y pdk
24+
25+
- name: "Provision nodes"
26+
run: |
27+
pdk bundle exec rake "litmus:provision_list[default]"
28+
pdk bundle exec rake "litmus:install_agent"
29+
pdk bundle exec rake "litmus:install_module"
30+
31+
- name: "Run Tests"
32+
run: |
33+
pdk bundle exec rake "litmus:acceptance:parallel"

0 commit comments

Comments
 (0)