Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android lint & test to GitHub CI #6741

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

murilopereirame
Copy link
Contributor

This commit implements the Android Lint and Tests into the pipeline to check if everything is ok at least with the written unit tests.

Closes #6678

.github/workflows/kotlin-test.yml Outdated Show resolved Hide resolved
.github/workflows/kotlin-test.yml Outdated Show resolved Hide resolved
This commit implements the Android Lint and Tests into the pipeline to
check if everything is ok at least with the written unit tests.

Closes #6678
push:
branches-ignore:
- master
paths: [ "app-android/**" ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
paths: [ "app-android/**" ]
paths:
- 'app-android/**'

I have discovered square brackets in YAML are not arrays and are not recognized as such by GitHub Actions. This is the style used by the GitHub Actions' documentation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both are supposed to be "sequences" in YAML, I wonder why "flow style" ones don't work

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's weird. My only other hypothesis is the different quotation marks. YAML handles wildcards differently depending on quote style from memory. It still does not make much sense to me either way to be honest.

@jomapp jomapp added this pull request to the merge queue Apr 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 26, 2024
@jomapp jomapp added this pull request to the merge queue Apr 26, 2024
@jomapp jomapp removed this pull request from the merge queue due to a manual request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run Android tests on Github Actions
3 participants