Skip to content

Commit

Permalink
Merge pull request #410 from skedgo/feature/19310-github-action
Browse files Browse the repository at this point in the history
[19310] Replaced travis with github action
  • Loading branch information
sg-jsonjuliane authored Feb 12, 2024
2 parents 95abb30 + 2ee8890 commit c75619a
Show file tree
Hide file tree
Showing 3 changed files with 1,432 additions and 32 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Android CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
name: Build and Test
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'

- name: Grant execute permission for Gradle wrapper
run: chmod +x gradlew

- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.android/build-cache
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run tests
run: ./gradlew test
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit c75619a

Please sign in to comment.