Skip to content

Commit

Permalink
Merge pull request #12 from fadnincx/feat-ubuntu20
Browse files Browse the repository at this point in the history
feat: ubuntu 20 support and testing
  • Loading branch information
Schroeffu authored Feb 14, 2023
2 parents 23bcc6e + 38c6264 commit a514b29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
distro:
- ubuntu20
- ubuntu22
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -30,3 +35,5 @@ jobs:
- name: Test with molecule
run: |
molecule test
env:
MOLECULE_DISTRO: ${{ matrix.distro }}
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- potos
Expand Down
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ driver:

platforms:
- name: instance
image: ghcr.io/projectpotos/ubuntu22-ansible-test:latest
image: ghcr.io/projectpotos/${MOLECULE_DISTRO}-ansible-test:latest
pre_build_image: true
command: /lib/systemd/systemd
privileged: true
Expand Down

0 comments on commit a514b29

Please sign in to comment.