Skip to content
Closed
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
8 changes: 6 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ jobs:
- name: make
run: make -j10
- name: install
run: sudo make install
run: |
sudo make install
sudo ldconfig
- name: install pytrap
run: (cd pytrap && make coverage; sudo python3 setup.py install;)
run: (cd pytrap && make coverage; sudo pip install .;)
- name: pycommon tests
run: (cd pycommon && pip install .[test] && pytest;)
- name: make check
run: make check
- name: make distcheck
Expand Down
2 changes: 1 addition & 1 deletion pytrap/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TESTS = test.sh

.PHONY: coverage
coverage:
CFLAGS=-coverage python3 -m pip install .[test] --no-deps --disable-pip-version-check --no-cache-dir
CFLAGS=-coverage python3 -m pip install .[test] --disable-pip-version-check --no-cache-dir
CFLAGS=-coverage python3 -m pytest --cov=pycommon || echo "Skipped python3 tests"
@lcov --capture --directory . --output-file coverage.info 2>/dev/null && \
genhtml coverage.info --output-directory out 2>/dev/null || echo "Skipped coverage analysis"
Expand Down
3 changes: 2 additions & 1 deletion pytrap/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ license = { text = "BSD" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: C",
"Programming Language :: Python :: 3",
Expand Down Expand Up @@ -46,7 +47,7 @@ docs = [
[project.urls]
Homepage = "https://github.com/CESNET/Nemea-Framework"

# Configure setuptools to find packages and handle C extensions

[tool.setuptools]
package-dir = { "" = "src" }

Expand Down
Loading