Skip to content

Commit

Permalink
Merge branch 'main' into basic-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
puttabrahmam committed Jan 24, 2022
2 parents 77d7f40 + fa91636 commit bf9c8d0
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Android CI

on: [push]
# branches: [ main ]
# pull_request:
# branches:
# - 'main'

jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
cache: gradle
- name: Unit tests
run: bash ./gradlew test --stacktrace

build:
name: Build project
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: build release
run: bash ./gradlew assembleDebug

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
cache: gradle
- run: ./gradlew lint
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ captures/
.idea/modules.xml
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
.idea/navEditor.xml
misc.xml

# Keystore files
# Uncomment the following lines if you do not want to check your keystore files in.
Expand Down
6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf9c8d0

Please sign in to comment.