• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fedora-llvm-team / llvm-snapshots / 13675979841
55%

Build:
DEFAULT BRANCH: main
Ran 05 Mar 2025 12:30PM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Mar 2025 12:27PM UTC coverage: 58.613% (+19.1%) from 39.539%
13675979841

push

github

web-flow
Use python venv to run tests, coverage and building diagrams locally (#1132)

This change adds these make targets:

* `venv` to create a virtual environment in `.venv` to be used by make targets below
  * NOTE: The `dnf` module needs to be installed through the operating system but we make it available to the venv by passing `--system-site-packages`.
* `test` runs tests in the virtual environment created above
* `coverage` runs coverage and produces a text and HTML report in the virtual environment created above
* `update-requirements` this is a helper target to update `requirements.txt` when you change something in `requirements.txt.in`. This is also done in the venv created above.

Other changes:

* `requirements.txt` got `pytest` as a new dependency because we use it in some tests.
* `.coveragerc` was added to include configuration for which files to omit from coverage.
  * Without this, coverage would include `/usr` directories.
* `*_test.py` files will now be excluded from the coverage because we're not interested in them.

* `cffi` was bumped from `1.15.1` to `1.17.1` for it to work with Python 3.13

This should fix this error:

```
      building '_cffi_backend' extension
      creating build/temp.linux-x86_64-cpython-313/c
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -O3 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/home/kkleine/src/llvm-snapshots/.venv/include -I/usr/include/python3.13 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-313/c/_cffi_backend.o
      c/_cffi_backend.c: In function ‘b_do_dlopen’:
      c/_cffi_backend.c:4523:22: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
       4523 |                      Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
            |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file incl... (continued)

1014 of 1730 relevant lines covered (58.61%)

0.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13675979841.1 05 Mar 2025 12:30PM UTC 18
58.61
GitHub Action Run
Source Files on build 13675979841
  • Tree
  • List 18
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13675979841
  • 924a65ea on github
  • Prev Build on main (#13672496696)
  • Next Build on main (#13695569954)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc