Skip to content

Commit 3b60826

Browse files
chore: add matrix versions for ci until py3.11 (#574)
1 parent 744a464 commit 3b60826

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949

5050
test:
5151
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
python-version:
55+
- "3.9"
56+
- "3.10"
57+
- "3.11"
5258
env:
5359
EDA_SECRET_KEY: 'test'
5460
EDA_DB_PASSWORD: 'secret'
@@ -93,7 +99,7 @@ jobs:
9399
- name: Set up Python
94100
uses: actions/setup-python@v4
95101
with:
96-
python-version: '3.10'
102+
python-version: ${{ matrix.python-version }}
97103
cache: 'poetry'
98104

99105
- name: Install package
@@ -111,6 +117,6 @@ jobs:
111117
env_vars: OS,PYTHON
112118
fail_ci_if_error: false
113119
files: ./coverage.xml
114-
flags: "unit-int-tests"
120+
flags: "unit-int-tests-${{ matrix.python-version }}"
115121
name: codecov-umbrella
116-
verbose: true
122+
verbose: true

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
**Maintenance Status**
2+
3+
![Maintained? yes](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
4+
5+
**Codecov**
6+
7+
[![codecov](https://codecov.io/gh/ansible/eda-server/graph/badge.svg?token=N6Z2DZGKGZ)](https://codecov.io/gh/ansible/eda-server)
8+
9+
**GitHub Workflow**
10+
11+
[![GitHub Workflow Status](https://github.com/ansible/eda-server/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ansible/eda-server/actions/workflows/ci.yaml?query=branch%3Amain)
12+
13+
**Version**
14+
![Python 3.9](https://img.shields.io/badge/Python-3.9-blue)
15+
![Python 3.10](https://img.shields.io/badge/Python-3.10-blue)
16+
![Python 3.11](https://img.shields.io/badge/Python-3.11-blue)
17+
118
# Event Driven Ansible Controller
219

320
This repository contains the source code for the Event Driven Ansible Controller, aka EDA-Controller.
@@ -15,7 +32,7 @@ Refer to the [development guide](docs/development.md) for further information if
1532
## Contributing
1633

1734
We ask all of our community members and contributors to adhere to the [Ansible code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
18-
If you have questions or need assistance, please reach out to our community team at [email protected]
35+
If you have questions or need assistance, please reach out to our community team at <[email protected]>
1936

2037
Refer to the [Contributing guide](docs/contributing.md) for further information.
2138

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ all = ["psycopg2"]
2525
dev = ["psycopg2-binary"]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4"
28+
python = ">=3.9,<3.12"
2929
django = ">=4.2,<4.3"
3030
djangorestframework = "*"
3131
dynaconf = ">=3"

0 commit comments

Comments
 (0)