Skip to content

Commit

Permalink
feat: add ubuntu 20.04 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fadnincx committed Feb 1, 2023
1 parent e7e45c5 commit c73a2c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 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 @@ -31,3 +36,6 @@ jobs:
run: |
molecule destroy
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: yes
command: /lib/systemd/systemd
privileged: yes
Expand Down

0 comments on commit c73a2c4

Please sign in to comment.