# Avoiding Test Failures on Git Actions

**URL:** <https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010>\
**Category:** Quality Assurance\
**Tags:** developers-forum\
**Created:** [July 8, 2021, 6:08am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010 "2021-07-08T06:08:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![insookwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/insookwa/32/11433_2.png) [@insookwa](https://talk.openmrs.org/u/insookwa)\
**Post date:** [July 8, 2021, 6:08am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010/1 "2021-07-08T06:08:34Z")

</div>

I worked on these few automated tests which run successfully locally but they fail on git actions after making a pull request .

I would like to know if there is something that should be done before making a pull request to avoid these failures or can they be detected locally before creating a pull request

here are some of those failing

[PR 1](https://github.com/openmrs/openmrs-distro-referenceapplication/runs/3008069706?check_suite_focus=true)

[PR 2](https://github.com/openmrs/openmrs-distro-referenceapplication/pull/493/checks?check_run_id=3008069706)

[PR3](https://github.com/openmrs/openmrs-distro-referenceapplication/pull/473/checks?check_run_id=3011823401)

Thank you@k.joseph @dkayiwa @kdaud

---

<div class="post-metadata">

**Author:** ![k.joseph](https://talk.openmrs.org/user_avatar/talk.openmrs.org/k.joseph/32/8097_2.png) [@k.joseph](https://talk.openmrs.org/u/k.joseph)\
**Post date:** [July 8, 2021, 7:25am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010/2 "2021-07-08T07:25:17Z")

</div>

You will need to run all tests including yours to be sure all are still passing

---

<div class="post-metadata">

**Author:** ![insookwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/insookwa/32/11433_2.png) [@insookwa](https://talk.openmrs.org/u/insookwa)\
**Post date:** [July 29, 2021, 9:45am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010/3 "2021-07-29T09:45:36Z")

</div>

This challenge is still persisting on most of the pull requests made despite the fixes made lately is there anything that should be done differently @kdaud@sharif

---

<div class="post-metadata">

**Author:** ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)\
**Post date:** [July 29, 2021, 9:52am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010/4 "2021-07-29T09:52:23Z")

</div>

> [@insookwa](#):
>
> This challenge is still persisting on most of the pull requests made despite the fixes made lately

@insookwa can we sync for a while to have this sorted out?

---

<div class="post-metadata">

**Author:** ![insookwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/insookwa/32/11433_2.png) [@insookwa](https://talk.openmrs.org/u/insookwa)\
**Post date:** [July 29, 2021, 9:54am UTC](https://talk.openmrs.org/t/avoiding-test-failures-on-git-actions/34010/5 "2021-07-29T09:54:12Z")

</div>

I am available anytime you suggust
