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
29 changes: 14 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ jobs:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Setup python
id: test
uses: actions/setup-python@v5
- uses: actions/checkout@master
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: "${{ matrix.python-version }}"
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Test
run: pytest tests -vv
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run tests
run: uv run pytest tests -vv --junitxml=junit.xml -o junit_family=legacy

coverage:
runs-on: ubuntu-latest
Expand All @@ -37,14 +36,14 @@ jobs:
image: selenium/standalone-chrome
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: 3.14
- name: Install dependencies
run: pip install -r requirements-test.txt
python-version: ${{ matrix.python-version }}
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Generate coverage report
run: pytest --cov=selenium_datatable --junitxml=junit.xml -o junit_family=legacy
run: uv run pytest --cov=selenium_datatable --junitxml=junit.xml -o junit_family=legacy
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
Expand Down
47 changes: 42 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,46 @@
[build-system]
requires = [
"setuptools",
"wheel",
"setuptools_scm"
[project]
name = "selenium-datatable"
description = "A small library for simplifying a table object in selenium"
readme = "README.md"
requires-python = ">=3.8"
# license = "Apache-2.0"
authors = [{ name = "Lukasz Fundakowski", email = "fundakol@yahoo.com" }]
keywords = ["selenium table data-table testing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = ["selenium>=3.141.0"]
dynamic = ["version"]

[project.urls]
Homepage = "https://github.com/fundakol/selenium_datatable"

[project.optional-dependencies]
dev = [
"Flask>=2.0.3",
"pytest>=7.0.1",
"pytest-cov>=3.0.0",
"Werkzeug>=2.0.2",
]

[dependency-groups]
dev = [
"Flask>=2.0.3",
"Werkzeug>=2.0.2",
"pytest>=7.0.1",
"pytest-cov>=3.0.0",
]

[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
2 changes: 0 additions & 2 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Flask>=2.0.3
pytest>=7.0.1
pytest-cov>=3.0.0
requests>=2.27.1
selenium>=3.141.0
Werkzeug>=2.0.2
31 changes: 0 additions & 31 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,34 +1,3 @@
[metadata]
name = selenium-datatable
author = Lukasz Fundakowski
author_email = fundakol@yahoo.com
description = A small library for simplifying a table object in selenium
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/fundakol/selenium_datatable
python_requires = >=3.9
keywords = selenium table data-table testing
classifiers =
Development Status :: 5 - Production/Stable
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent

[options]
packages = find:
install_requires = selenium

[options.packages.find]
include = selenium_datatable
exclude =
tests.*

[flake8]
max-line-length = 120
ignore =
Expand Down
3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

Loading