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

FEniCS / ffcx / 39159160340
88%
main: 89%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-906-efb27548c8a2453afcf7894ee196936d9e10f7c8
DEFAULT BRANCH: main
Ran 18 Oct 2026 07:33PM UTC
Jobs 1
Files 59
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

18 Oct 2026 05:11PM UTC coverage: 88.053%. Remained the same
39159160340

push

github

web-flow
Fix I/O race in the numba tests (#911)

The numba tests generated `poisson_numba.py` into the current working
directory and imported it by module name. CI runs the suite with
`pytest -n auto`, so several workers sharing a working directory could
generate the file concurrently, and a worker could import it while
another was still writing it, giving

    AttributeError: module 'poisson_numba' has no attribute 'form_poisson_a'

Generate the module into the test's own `tmp_path` instead, via the
existing `--dir` option of `ffcx.main`, and load it from that explicit
path with `importlib.util.spec_from_file_location`. Each test now has
its own copy and nothing is written to the working directory.

Reproduced on the previous code at 1 failure in 10 runs of
`pytest test/test_numba.py -n 4`, with the error reported in the issue;
0 failures in 20 runs after the change.

Fixes #822.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

4798 of 5449 relevant lines covered (88.05%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39159160340.1 18 Oct 2026 07:33PM UTC 59
88.05
GitHub Action Run
Source Files on build 39159160340
  • Tree
  • List 59
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6f7d725d on github
  • Prev Build on gh-readonly-queue/main/pr-922-57c8774d6d6df2eca34839e25369d2fda4d04906 (#39140554099)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc