Skip to content

Fix checking of CPU time in commit script

Spyros Argyropoulos requested to merge fix2 into master

Description of bug

See #140 (closed)

Changes introduced

Change the order of checking:

If the job lasts too long 
  If Athena is run 
    Error
  Else 
    OK
Else
  Ok

Tests

The job lasts too long and athena is run

We should get an error

Screenshot_2021-05-06_at_09.54.07

The job lasts too long and athena is skipped

We should get the printout that the CI job would last too long but athena is skipped

Screenshot_2021-05-06_at_09.55.41

The job lasts less than 1h

We should just get the printout that the job lasts less than 1h

Screenshot_2021-05-06_at_10.04.48

Issues resolved

Closes #140 (closed)

Merge request reports