tarpaulin icon indicating copy to clipboard operation
tarpaulin copied to clipboard

Test coveralls with other CI services.

Open xd009642 opened this issue 5 years ago • 9 comments

This stems from https://github.com/xd009642/coveralls-api/issues/1 currently the code is implemented but I ideally need people using these ci tools to try it out and see if it works better with coveralls.

Listed CI services are:

  • [x] Travis
  • [x] TravisPro
  • [x] Circle
  • [ ] Semaphore
  • [x] Jenkins
  • [ ] Codeship
  • [x] gitlab CI
  • [x] github actions

xd009642 avatar Feb 12 '19 22:02 xd009642

FWIW I've managed to use this to upload to coveralls from Azure pipelines (https://github.com/FractalBrew/file-store-rs/blob/master/azure-pipelines.yml#L61)

Mossop avatar Sep 16 '19 15:09 Mossop

The biggest issue with this is that the codecov token needs to be made available to pull requests, but that's an issue with Azure, not with tarpaulin. See also the re-useable Azure Pipelines component here https://github.com/crate-ci/azure-pipelines/blob/master/azure/coverage.yml and the coverage over at https://crate-ci.github.io/azure-pipelines/setup.html#code-coverage.

jonhoo avatar Sep 16 '19 19:09 jonhoo

Oooh I'll put a link to the azure repo you linked in the readme @jonhoo :+1:

xd009642 avatar Sep 17 '19 22:09 xd009642

I have Tarpaulin running under GitLab-CI here: https://gitlab.kitware.com/ben.boeckel/rust-git-workarea/-/jobs/4684893. Here's the diff to add support. Haven't done the work to get it to show up anywhere else yet.

mathstuf avatar Nov 13 '19 01:11 mathstuf

I've got gitlab mentioned in the readme now though that might be just how to get gitlab coverage working I found getting tarpaulin working on it was as easy as Travis

xd009642 avatar Nov 13 '19 08:11 xd009642

I have it working on GitHub Actions in samueldple/date_time if that's of interest to anyone using this workflow

notquiteamonad avatar Nov 13 '19 15:11 notquiteamonad

See personally I'd think of that as pretty self-explanatory no weird things or things to trip you up. Compared to for instance running tarpaulin from docker or the fact that travis needs you to set sudo: required. But I am starting to wonder if this project could benefit from a folder with a collection of bare bones config files for various CI services that people could refer to as a starting point.

But then it's work to maintain them and I only use travis or github actions personally so I won't spot any updates that are required so it relies on people having the examples not work anyway...

Anyone have any thoughts?

xd009642 avatar Nov 14 '19 00:11 xd009642

Maybe just pointing to example repos is good enough? I suggest only taking volunteers rather than seeking out examples (that way if they change CI backend, there's a chance there'd be a signal back here to update links).

mathstuf avatar Nov 15 '19 02:11 mathstuf

confirmed circle can work via docker by talking to a tarpaulin user

xd009642 avatar Aug 26 '20 07:08 xd009642

Closing because it's been 3 years with no issues reported on other CI platforms

xd009642 avatar Oct 13 '22 17:10 xd009642