# Running test cases with gradle

**URL:** <https://forum.katalon.com/t/running-test-cases-with-gradle/89771>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [June 10, 2023, 11:06pm UTC](https://forum.katalon.com/t/running-test-cases-with-gradle/89771 "2023-06-10T23:06:54Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [June 11, 2023, 4:47am UTC](https://forum.katalon.com/t/running-test-cases-with-gradle/89771/11 "2023-06-11T04:47:38Z")

</div>

> [@mwarren04011990](#):
>
> How can we trigger this from a GitHub action?

It seems you want to ask others how to run a gradle build in GitHub Action.

Just read the manual: [Executing Gradle builds on GitHub Actions](https://docs.gradle.org/current/userguide/github-actions.html) . But I think that it is not an issue to be raised in this Katalon user forum.

* * *

If you want to run `$ gradle test` task in a Katalon Studio project on GitHub Actions to test your `com.kms.katalon.**`-dependent classes, you need a Katalon Runtime Engine license and somehow you need to enable KRE to run on GitHub Actions. I have never tried that. I do not even know if it is possible or not.

In some projects, I do unit-tests of `com.kms.katalon. **`-** independent **calsses on GitHub Actions as a part of Pull-Request processing. I can do it without KRE, of course. On the other hand, I would never want to do unit-tests of `com.kms.katalon.** `-dependent classes on GitHub Actions, simply because I do not need it. I always make good efforts to minimize the size of `com.kms.katalon.**`-dependent classes, so the manual testing on my local machine using the [junit4ks library](http://forum.katalon.com/t/running-junit4-in-katalon-studio/12270) inside Katalon Studio is enough. I do not need any CI cycle for my `com.kms.katalon.**`-dependent classes.

---

_[View the full topic](https://forum.katalon.com/t/running-test-cases-with-gradle/89771)._
