Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Run molecule test on different images
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
  • Loading branch information
Norman Ziegner committed Aug 27, 2020
1 parent 8097770 commit e341ff9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
test:
needs: validate
runs-on: ubuntu-latest
strategy:
matrix:
images: ['jrei/systemd-ubuntu:18.04', 'jrei/systemd-ubuntu:20.04']
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand All @@ -28,3 +31,5 @@ jobs:

- name: Molecule test
uses: robertdebock/molecule-action@2.6.1
with:
image: "${{ matrix.images }}"
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ driver:
name: docker
platforms:
- name: instance
image: jrei/systemd-ubuntu:18.04
image: ${MOLECULE_IMAGE:-jrei/systemd-ubuntu:20.04}
pre_build_image: true
privileged: true
override_command: false
Expand Down

0 comments on commit e341ff9

Please sign in to comment.