Comments (8)
Thanks for the confirmation.
I'll be pushing to hex sometime later (as I'm out of the office today and don't have laptop access).
from excoveralls.
With 0.6.1
I tried on Windows 10, Debian Linux, and macOS Sierra. This error was present on all 3 OS-es, only it was showing before the coverage was shown. It never even got to show coverage.
I was using 0.6.1
and went to 0.5.7
and that fixed it for me.
EDIT: Posting my stacktrace since it's different than yours:
** (Protocol.UndefinedError) protocol Enumerable not implemented for nil
(elixir) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir) lib/enum.ex:116: Enumerable.reduce/3
(elixir) lib/enum.ex:1776: Enum.into/2
(excoveralls) lib/excoveralls/settings.ex:49: ExCoveralls.Settings.get_file_col_width/0
(excoveralls) lib/excoveralls/local.ex:46: ExCoveralls.Local.print_summary/1
(excoveralls) lib/excoveralls/local.ex:18: ExCoveralls.Local.execute/2
(mix) lib/mix/tasks/test.ex:245: Mix.Tasks.Test.run/1
(mix) lib/mix/task.ex:294: Mix.Task.run_task/3
(excoveralls) lib/mix/tasks.ex:53: Mix.Tasks.Coveralls.do_run/2
(mix) lib/mix/task.ex:294: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2
(elixir) lib/code.ex:370: Code.require_file/2
from excoveralls.
I discovered this happens when you install excoveralls as an archive and try to use it without having it as a dependency in the project too.
from excoveralls.
Thanks for the report (and sorry being not responsive).
These 2 issues seem to be similar ones, and I tried fix with the above commit (it's in master
branch).
Actually, I haven't been able to reproduce the error in my local environment. Is it possible for you to try the fix? (Maybe it's like the following).
def deps do
[ {:excoveralls, github: "parroty/excoveralls", only: :test} ]
end
If it's difficult to try, some details about conditions to reproduce is appreciated.
from excoveralls.
@parroty That fixed it, by the way. Plan on releasing it in 0.6.2 soon?
from excoveralls.
Thanks for your confirmation as well. I'll be keeping an eye and upgrade to 0.6.2 when I see a new tag with that name released.
from excoveralls.
Pushed as v0.6.2. I'm closing this item, assuming both of the issue are fixed, but if there's remaining issue, please reopen this or open another one.
from excoveralls.
Confirmed that the error is no longer there on a fresh install with a new project, specifying exactly version 0.6.2.
Thank you!
from excoveralls.
Related Issues (20)
- How to find out by which test selected line is covered by?
- Coveralls is not picking all my files HOT 1
- Coveralls errors out HOT 3
- Github actions fail on scheduled workflows
- Cannot specify subdir with circle
- Is it possible to include HEEX files in the coverage?
- Support --warnings-as-errors option HOT 3
- Reports different results at an umbrella level vs in-app level
- Is there a way to post coverage from Github Actions in parallel mode? HOT 3
- don't ignore `min_coverage` in `mix coveralls.json` HOT 4
- Coveralls reporting does not understand slots
- Story: Please add totals at the bottom of the report for LINES, RELEVANT and MISSED
- Cobertura error when protocols and implementations in codebase HOT 1
- Incompatibility between excoveralls and meck? HOT 4
- Umbrella run ignores config json in root HOT 5
- Protocols fail to consolidate using ExCoveralls
- Excoveralls minimum_coverage conflicts with new Elixir changes. Result: Error: Process completed with exit code 3.
- "function ExCoveralls.start/2 is undefined" HOT 3
- Warning in build, CAStore
- Is it possible to export in multiple formats by running the tests once?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excoveralls.