# Running CI Tests Locally

**URL:** <https://meta.discourse.org/t/running-ci-tests-locally/186505>\
**Category:** Development\
**Created:** [April 12, 2021, 1:57pm UTC](https://meta.discourse.org/t/running-ci-tests-locally/186505 "2021-04-12T13:57:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Grayden\_Shand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grayden_shand/32/166586_2.png) [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)\
**Post date:** [April 12, 2021, 1:57pm UTC](https://meta.discourse.org/t/running-ci-tests-locally/186505/1 "2021-04-12T13:57:53Z")

</div>

I just opened my first PR (🎉)  
[https://github.com/discourse/discourse/pull/12674](https://github.com/discourse/discourse/pull/12674)

And unfortunately it failed one of the CI checks, specifically: `core backend > Core RSpec`. And the particular test it failed on is: `TopicsController#invite when logged in when user is a group manager should attach group to the invite.`

I want to reproduce this test failure locally so I can tell whether or not I’ve fixed the problem before committing new code.

However, I can’t find any documentation on running tests locally.

Can anyone get me started?

---

_[View the full topic](https://meta.discourse.org/t/running-ci-tests-locally/186505)._
