Skip to content
Open
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: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
pull_request:

jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we drop 3.8 and 3.9 here? Both are already EOL.


steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[tests]

- name: Unittests
run: |
pytest -v tests
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

tests_require = (this_directory / "requirements-dev.txt").read_text().splitlines()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make more sense to inline the dependencies here and drop the requirements-dev.txt file – as in artifactory?


setup(
name="artifactory-cleanup",
version="1.0.18",
Expand Down Expand Up @@ -51,4 +53,5 @@
],
python_requires=">=3.6",
include_package_data=True,
extras_require={"tests": tests_require},
)
Loading