Commit graph

9 commits

Author SHA1 Message Date
Norwid Behrnd
579ce63756 build: reorganize project dependencies with a .toml file
The dependencies of the project -- either use (default), or
further development (`dev`) -- are managed by a pyproject.toml
file.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2025-05-07 18:05:39 +02:00
Norwid Behrnd
1eed973fc2 test(pytest.yml): update scope of Image runners
The scope of the environments the pytest checks are performed
was updated (ubuntu-24.04, macos-15, windows-2025; Python 3.9
and 3.13).  The checks now equally are available on push to a
non default branch `dev` (development/feature branch).

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2025-05-07 17:09:04 +02:00
Norwid Behrnd
78157342b7 refactor: rewrite pattern search, smart-prepend option
The pattern search about the smart-prepend option was rewritten to
be easier to read and maintain.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-22 11:01:37 +01:00
Norwid Behrnd
3b8493bb62 ci(pytest.yml): adopt matrix syntax of GitHub actions
The pytest based testing is redefined adopting tmatrix based syntax
GitHub offers.  This eases to track which versions of OSes and Python
interpreters are engaged, and a format is more compact, than the one
used earlier.  Inspired/partially copy-pasted from a project related
to chemistry.[1]

[1] https://github.com/nbehrnd/datawarrior_saturate_Murcko_scaffolds

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-12 18:16:05 +01:00
Norwid Behrnd
fa5c36d9a0 ci(pytest.yml): correct sequence definition
Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-06 00:04:47 +01:00
Norwid Behrnd
07319a2726 ci: split pytest runs (default, prepend, smart)
With pytest labels installed (default, prepend, smart) it will be
easier to recognize which sub set contains a failing test.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-11-05 22:12:18 +01:00
nbehrnd
140671f28f
correct functional typo in pytest.yml 2024-10-31 12:05:12 +01:00
Norwid Behrnd
7c7074d0f9 ci(pytest.yml): extend scope to Windows and MacOS
The scope of the automated pytest checks is extended to equally
consider Windows 2022 and MacOS 14.  At present, these are the
most recent OS images of Windows, or MacOS, respectively.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-10-31 11:58:59 +01:00
Norwid Behrnd
d79ba9d954 ci(pytest.yml): introduce github action on ubuntu
This commit aims to provide an automated testing with pytest moderated
by GitHub actions.  Its scope is constrained twice -- both for pytest,
as well as for the testing operating system -- to familiarize

1) how to file a PR to project I don't own which however now allows
   me to admit a PR.
2) To learn if in this situation a contributor can set GitHub actions
   in a repository owned by an other user.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-10-31 11:30:30 +01:00