Skip to content

Commit e998cb6

Browse files
committed
Refresh testing matrix
- Refresh list of python versions, the list used is to align it with the Ubuntu releases. - Refresh list of vault versions, the list used is to align it with the versions of vault charm published. Signed-off-by: Felipe Reyes <felipe.reyes@canonical.com>
1 parent 30b625a commit e998cb6

1 file changed

Lines changed: 26 additions & 9 deletions

File tree

.github/workflows/testing.yml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,34 @@ jobs:
99
strategy:
1010
max-parallel: 3
1111
matrix:
12-
python_versions:
13-
- '3.6'
14-
- '3.7'
12+
include:
13+
- python_version: '3.8'
14+
openstack_constraints: 'https://opendev.org/openstack/requirements/raw/tag/ussuri-eol/upper-constraints.txt'
15+
- python_version: '3.10'
16+
openstack_constraints: 'https://opendev.org/openstack/requirements/raw/tag/yoga-eom/upper-constraints.txt'
17+
- python_version: '3.12'
18+
openstack_constraints: 'https://opendev.org/openstack/requirements/raw/branch/stable/2024.1/upper-constraints.txt'
19+
- python_version: '3.14'
20+
openstack_constraints: 'https://opendev.org/openstack/requirements/raw/branch/stable/2026.1/upper-constraints.txt'
21+
python_version:
1522
- '3.8'
16-
vault_versions:
17-
- '1.7.3'
18-
- '1.1.5'
23+
- '3.10'
24+
- '3.12'
25+
- '3.14'
26+
vault_version:
27+
# k8s based vault
28+
- '2.0'
29+
- '1.19'
30+
- '1.18'
31+
- '1.17'
32+
- '1.16'
33+
- '1.15'
34+
# charmed openstack's vault
35+
- '1.8'
1936
runs-on: ubuntu-latest
2037
services:
2138
vault:
22-
image: vault:${{ matrix.vault_versions }}
39+
image: vault:${{ matrix.vault_version }}
2340
env:
2441
VAULT_DEV_ROOT_TOKEN_ID: "testing"
2542
ports:
@@ -31,8 +48,8 @@ jobs:
3148
python-version: ${{ matrix.python_versions }}
3249
- name: "install requirements"
3350
run: |
34-
pip install -r requirements.txt -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
35-
pip install -r test-requirements.txt -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
51+
pip install -r requirements.txt -c ${{ matrix.openstack_constraints }}
52+
pip install -r test-requirements.txt -c ${{ matrix.openstack_constraints }}
3653
- name: "flake8 run"
3754
run: |
3855
flake8

0 commit comments

Comments
 (0)