I want to run a test through Github action for each PR.
My Github repository structure is
Root Dir
- Sub Dirs
- Child Dir
- Java Module Dir
- Child Dir
- Sub Dirs
- Child Dir
- Java Module Dir
- Child Dir
- Sub Dirs
- Child Dir
- Java Module Dir
- Child Dir
- ...
In this situation I want to test only Java modules.
I don't want to create a repository as a multi-module project
The reason is that it is going to be used in combination with other languages, so it doesn't look good for the repository to look like it's based on Java.
Anyway, to run Java tests by subdirectory
Do I have to write that directory to the workflow file to run it?
Is it possible to dynamically find and execute Java-based directories?
(Java-based directories are probably prefixed with "Java-")
I set the matrix with GitHub action workflow The directory description was tested.
I want to dynamically directory Testing in Github Action