cpf_cnpj icon indicating copy to clipboard operation
cpf_cnpj copied to clipboard

Migration to Github Actions made some tests failed

Open pedrofurtado opened this issue 3 years ago • 4 comments

@fnando After merge of https://github.com/fnando/cpf_cnpj/pull/18 , some tests failed. But I think it is not related to CI itself, but in source code.

I will investigate to get some clue 👍 🔍

pedrofurtado avatar Jul 21 '21 21:07 pedrofurtado

The tests that failed are all about CLI, maybe we need to change something in Github action workflow to get it work well

pedrofurtado avatar Jul 21 '21 21:07 pedrofurtado

There is a really strange behavior, @fnando :

If I run the tests locally in PC that is all green. But if I run the exactly same way in container, appears errors about mismatch of exit codes, in specs of CLI commands from gem 🤔

pedrofurtado avatar Jul 21 '21 22:07 pedrofurtado

Even in PC, sometimes the bundle exec rake run green, sometimes red (without any file changes). There is some randomness that may be causing these errors too

pedrofurtado avatar Jul 21 '21 23:07 pedrofurtado

@fnando Have you any idea about the reason of these random failures? 🤔 I am able to help, in what you need 🤝

pedrofurtado avatar Jul 23 '21 21:07 pedrofurtado