From 4e1aa284bf5cf45653b043ac428f575a1f0ccb54 Mon Sep 17 00:00:00 2001 From: petems Date: Thu, 22 Sep 2022 11:25:09 +0100 Subject: [PATCH] fix matrix setup for OS --- .github/workflows/acceptance.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml index ad8052e..668cb7f 100644 --- a/.github/workflows/acceptance.yml +++ b/.github/workflows/acceptance.yml @@ -1,17 +1,19 @@ on: [push, pull_request] name: acceptance tests jobs: - Linux: + linux: strategy: matrix: os: ["ubuntu:latest", "debian:latest", "fedora:latest", "centos:7"] runs-on: ubuntu-latest + container: + image: ${{ matrix.os }} steps: - name: Checkout code uses: actions/checkout@v2 - name: Run install script run: | - sudo bash ./install_puppet_7_agent.sh + bash ./install_puppet_7_agent.sh - name: Test puppet is installed run: | /opt/puppetlabs/bin/puppet --version \ No newline at end of file