NCAS-CMS / NCAS-CMS/cf-python

CI: fix flakiness of some precision-based testing

Aperta
#679 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sadielbartholomew ci sta già lavorando.

Dal 30/6/2023.

CI GitHub Actions testing
Lingua principale
Python
Stelle
150
Fork
23
Merge medio
1g 11h
PR unite (30g)
2

Descrizione

Some tests which pass locally fail on some (and possibly all in some cases) of the CI job runs corresponding to the full test suite running workflow. They therefore seem to be 'flaky' tests.

Most if not all of these tests involve precision equality testing, for example isclose with given atol and rtol and therefore floating point rounding or tolerance variations are likely the reason for the variation in result on different environments.

See also the following comments, for further context:

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.