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

sirbrillig / phpcs-variable-analysis / 8818486671
94%

Build:
DEFAULT BRANCH: 2.x
Ran 24 Apr 2024 02:43PM UTC
Jobs 4
Files 9
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

24 Apr 2024 02:41PM UTC coverage: 93.819%. Remained the same
8818486671

push

github

web-flow
GH Actions: work around intermittent apt-get errors (#322)

Okay, so apparently, there is a long-standing bug in the Microsoft package deploy process which caused `apt-get update` to fail in the first half hour after Microsoft has deployed a package.

The failure looks like this:
```
E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
```

As this only happens intermittently (after a MS package deploy), the chance of running into this bug are slim, but guess what: today I ran into it.

This change to the workflow is intended to prevent the next person running into this issue from having to waste time on figuring this out.

By splitting the "Install xmllint" step into two steps: one doing the `apt-get update` and one doing the actual install and making the first step one which is allowed to `continue-on-error`, this issue should hopefully not crop up anymore.

Any errors in the `apt-get update` step will now be ignored and as most errors which could potentially come from that step are irrelevant for the rest of the job anyway, this is fine.
If a relevant error would be surfaced, the next step (the xmllint install), will fail the job anyway.

Refs:
* https://github.com/actions/runner-images/issues/3410
* https://github.com/dotnet/core/issues/4167

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

1867 of 1990 relevant lines covered (93.82%)

133.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-phpcs-dev-master - 8818486671.1 24 Apr 2024 02:43PM UTC 9
93.24
GitHub Action Run
2 php-5.4-phpcs-dev-master - 8818486671.2 24 Apr 2024 02:43PM UTC 9
93.28
GitHub Action Run
3 php-5.4-phpcs-3.5.6 - 8818486671.3 24 Apr 2024 02:43PM UTC 9
92.82
GitHub Action Run
4 php-7.4-phpcs-3.5.6 - 8818486671.4 24 Apr 2024 02:43PM UTC 9
93.02
GitHub Action Run
Source Files on build 8818486671
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8818486671
  • bb070b8f on github
  • Prev Build on 2.x (#8674907270)
  • Next Build on 2.x (#9686073257)
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