Skip to content

Commit 1f3661c

Browse files
committed
Run tests also against different certbot versions
1 parent 04422d0 commit 1f3661c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/main.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,18 @@ jobs:
1313
# You can use PyPy versions in python-version.
1414
# For example, pypy2 and pypy3
1515
matrix:
16-
python-version: [3.7, 3.8, 3.9]
16+
python-version: [
17+
'3.7',
18+
'3.8',
19+
'3.9',
20+
'3.10',
21+
'3.11',
22+
]
23+
certbot-version: [
24+
# '1.14.0', # tests use features not available in this version
25+
'1.32.0',
26+
'2.0.0',
27+
]
1728

1829
steps:
1930
- uses: actions/checkout@v2
@@ -25,7 +36,14 @@ jobs:
2536
run: |
2637
pip3 install -r requirements.txt
2738
pip3 install .
39+
if [[ $CERTBOT_VERSION != "latest" ]]
40+
then
41+
pip3 install --upgrade certbot~=$CERTBOT_VERSION
42+
pip3 install --upgrade acme~=$CERTBOT_VERSION
43+
fi
2844
pip3 freeze
45+
env:
46+
CERTBOT_VERSION: ${{ matrix.certbot-version }}
2947

3048
- name: flake8 Linter
3149
run: python3 -m flake8 certbot_dns_desec

0 commit comments

Comments
 (0)