Skip to content

Commit 716b70b

Browse files
committed
test: add bullseye
1 parent 33078e1 commit 716b70b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/molecule.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ jobs:
66
molecule:
77
name: Molecule
88
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
version: [buster, bullseye]
912
steps:
1013
- name: Check out repository
1114
uses: actions/checkout@v2
@@ -21,6 +24,8 @@ jobs:
2124
python -m pip install --disable-pip-version-check ansible ansible-lint molecule[docker,lint,test]
2225
2326
- name: Run Molecule tests
27+
env:
28+
MOLECULE_DEBIAN_VERSION: ${{ matrix.version }}
2429
run: |
2530
make version
2631
make test

meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ galaxy_info:
1010
- name: Debian
1111
versions:
1212
- buster
13+
- bullseye
1314
galaxy_tags:
1415
- raspberry
1516
- pi

molecule/default/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lint: |
1313
1414
platforms:
1515
- name: instance
16-
image: debian:buster
16+
image: debian:${MOLECULE_DEBIAN_VERSION:-bullseye}
1717
dockerfile: Dockerfile.j2
1818
override_command: false
1919
tmpfs:

0 commit comments

Comments
 (0)