Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 28 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,42 @@ jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9, '3.10', '3.11' , '3.12']
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install coveralls mock pytest-cov
python -m pip install .

- name: Verify installed package metadata
run: |
python - <<'PY'
from importlib.metadata import distribution
import setuptools

package = distribution('robotframework-historic-parser')
assert package.version == '0.2.2', package.version
assert package.metadata['Requires-Python'] == '>=3.10'
assert any(
requirement.startswith('setuptools~=84.0.0')
for requirement in (package.requires or [])
)
assert setuptools.__version__.startswith('84.0.'), setuptools.__version__
print(package.version)
print(package.metadata['Requires-Python'])
print(setuptools.__version__)

- name: Install test dependencies
run: |
python -m pip install coveralls mock pytest-cov
- name: Run Unit Tests
run: |
pytest --cov-config=test/.coveragerc --cov=robotframework_historic_parser -v
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
robotframework>=6.0
setuptools~=82.0.1
setuptools~=84.0.0
mysql-connector~=2.2.9
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
setup(
name='robotframework-historic-parser',
version=version.VERSION,
python_requires='>=3.10',
description='Parser to push robotframework execution results to MySQL',
classifiers=[
'Framework :: Robot Framework',
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Pypi version goes here. Update with releases."""
VERSION = "0.2.1"
VERSION = "0.2.2"