Add unit tests for component module #37
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
detekt: | |
name: Detekt | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 15 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Setup java | |
uses: ./.github/actions/setup_java | |
- name: Gradle cache | |
uses: ./.github/actions/gradle_cache | |
with: | |
key: "detekt" | |
- name: Run gradle | |
uses: ./.github/actions/run_gradle | |
with: | |
gradle_command: detekt | |
unit-tests: | |
name: Unit tests | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 15 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Setup java | |
uses: ./.github/actions/setup_java | |
- name: Gradle cache | |
uses: ./.github/actions/gradle_cache | |
with: | |
key: "unit-tests" | |
- name: Run gradle | |
uses: ./.github/actions/run_gradle | |
with: | |
gradle_command: test allTests | |
assemble: | |
name: Assemble | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 15 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Setup java | |
uses: ./.github/actions/setup_java | |
- name: Gradle cache | |
uses: ./.github/actions/gradle_cache | |
with: | |
key: "assemble" | |
- name: Run gradle | |
uses: ./.github/actions/run_gradle | |
with: | |
gradle_command: assemble |