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

pkryger / difftastic.el / 12608731581
100%

Build:
DEFAULT BRANCH: main
Ran 04 Jan 2025 07:48AM UTC
Jobs 10
Files 2
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

01 Jan 2025 02:57PM UTC coverage: 81.231%. Remained the same
12608731581

push

github

pkryger
[test] Ensure faces have meaningful foreground/background for noninteractive tests

When running tests noninteractive (for example when in CI, or by calling "make
test") Emacs doesn't have faces initialized.  This causes tests to fail, as
every colour substitution is to "unspecified-fg" or "unspecified-bg".
Apparently, this is a featrue, see
https://lists.gnu.org/archive/html/help-gnu-emacs/2024-02/msg00095.html.

This change will ensure the faces used in tests have some distinct values when
running noninteractively.

It also turns out that with a current implementation Emacs-28 highlight faces
are not applied for diffs.  Quick investigation shows that
`difftastic--ansi-color-add-background`
called twice: first time with `ansi-color-underline`, second time with
`(:foregorund "something")`.  Unfortunately, the former is used to detect if
the given face should be updated by `difftastic` to be a highlight
face.  Marking tests as failing for time being, when there's a demand will
revisit if it's worth the effort.

541 of 666 relevant lines covered (81.23%)

1412.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-emacs-28.2 - 12608731581.1 04 Jan 2025 07:49AM UTC 0
75.98
GitHub Action Run
2 ubuntu-latest-emacs-29.2 - 12608731581.2 04 Jan 2025 07:49AM UTC 0
80.78
GitHub Action Run
3 ubuntu-latest-emacs-29.3 - 12608731581.3 04 Jan 2025 07:49AM UTC 0
80.78
GitHub Action Run
4 macos-latest-emacs-snapshot - 12608731581.4 04 Jan 2025 07:49AM UTC 0
80.78
GitHub Action Run
5 macos-latest-emacs-28.2 - 12608731581.5 04 Jan 2025 07:50AM UTC 0
75.98
GitHub Action Run
6 macos-latest-emacs-29.4 - 12608731581.6 04 Jan 2025 07:49AM UTC 0
80.78
GitHub Action Run
7 ubuntu-latest-emacs-snapshot - 12608731581.7 04 Jan 2025 07:48AM UTC 0
80.78
GitHub Action Run
8 ubuntu-latest-emacs-29.4 - 12608731581.8 04 Jan 2025 07:49AM UTC 0
80.78
GitHub Action Run
9 ubuntu-latest-emacs-28.1 - 12608731581.9 04 Jan 2025 07:49AM UTC 0
75.98
GitHub Action Run
10 ubuntu-latest-emacs-29.1 - 12608731581.10 04 Jan 2025 07:48AM UTC 0
80.78
GitHub Action Run
Source Files on build 12608731581
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12608731581
  • 38fc1db2 on github
  • Prev Build on main (#12594498745)
  • Next Build on main (#12610969586)
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