Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • irdest irdest
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • we
  • irdestirdest
  • Merge requests
  • !23

CI: Adds CI for Application Codebase

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ghost User requested to merge ci/#13/establish-android-ci into develop Jun 11, 2021
  • Overview 1
  • Commits 4
  • Pipelines 0
  • Changes 11

Fixes #13 (closed)

  • Adds build step for application(checks if application is being built correctly)
  • Adds lint step(nope, it is not static analysis check yet, but as of now breaks on serious warnings; does not check formatting)
  • Adds gradle wrapper files to VCS, as they are needed to run ./gradlew assembleDebug, otherwise we'll have to do a custom install at CI that'll be an overkill
  • Uploads APK & lint reports as artifacts for download

NOTE: The CI is not complete yet, work to be done:

  • Format Kotlin & XML files using ktlint/ktfmt & prettier and impose strict formatting rules(All these are supported by spotless, see here: for ktfmt, for ktlint & for XML)
  • Use spotless to apply formatting to application codebase in one shot(i.e., via running a single command: ./gradlew spotlessApply or ./gradlew sA) and run spotless check on CI too
  • Run Integration test also on CI
Edited Jun 11, 2021 by Ghost User
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci/#13/establish-android-ci