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

agama-project / agama / 15303935258
73%

Build:
DEFAULT BRANCH: master
Ran 28 May 2025 03:22PM UTC
Jobs 3
Files 533
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

28 May 2025 03:15PM UTC coverage: 87.567% (+24.7%) from 62.886%
15303935258

push

github

web-flow
Split and refactor the Rust CI tests (#2417)

## Problem

- Running the Rust CI takes quite long time, usually around 9 minutes.
In most cases you have to wait to get the green check mark for merging
your changes.

## Solution

- Split the single huge job into several smaller independent parts which
can be executed in parallel
- Cache the compiled crates for faster rebuilds (it uses a different
cache for each job, the clippy cache is much smaller than the test
cache)
- Run directly in the Ubuntu host, actually we do not need the openSUSE
container for running the tests
- Faster start, avoids downloading the container (in a corner case just
downloading the image might [take 17
minutes](https://github.com/agama-project/agama/actions/runs/15294771338/job/43021160058#step:2:107))
  - The Rust tooling is already preinstalled in the default image
  - It uses `rustup` as well so there is basically no difference

## Other changes

- Install tarpaulin from sources.
 
I'd avoid downloading random binaries from the internet and running them
in the system. In the GitHub Actions which run in an isolated single-use
system it is acceptable, but if somebody wants to replicate the same
steps locally it would be nice to avoid this. The compiled tarpaulin is
cached with all other crates for the next run, so it is basically built
only once.

## Testing

- See [example
run](https://github.com/lslezak/agama/actions/runs/15249520255), with
hot cache it takes about 3 minutes for the tests to finish, the other
jobs running in parallel are faster.

### Hot cache


![image](https://github.com/user-attachments/assets/39a95203-60b2-43bd-aed3-810f4370e584)

### Cold cache

Note: This includes compiling the tarpaulin tool from sources in the
test job.


![image](https://github.com/user-attachments/assets/9b3335b3-fdaf-4438-ab77-1702f23f568e)


## Review note

Because the file has been completely rewritten reading the diff is not
easy. It is better to review the [new file
content](h... (continued)

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

11050 of 12592 relevant lines covered (87.75%)

56.23 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 15303935258.1 28 May 2025 03:22PM UTC 118
1.35
GitHub Action Run
3 web 15213936378.3 23 May 2025 03:35PM UTC 36
82.3
GitHub Action Run
3 service 15302927869.3 28 May 2025 02:37PM UTC 379
89.15
GitHub Action Run
Source Files on build 15303935258
  • Tree
  • List 533
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15303935258
  • 24c172ca on github
  • Prev Build on master (#15302927869)
  • Next Build on master (#15318978199)
  • Delete
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