Skip to content

Commit

Permalink
Add "Basic tests" github action
Browse files Browse the repository at this point in the history
  • Loading branch information
HeroBrine1st committed Sep 8, 2024
1 parent 1401a89 commit b66e0ac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 50 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Basic tests # Basically check that it can be run

on:
pull_request:
types: [ opened, reopened ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Set up android SDK
uses: android-actions/setup-android@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
- name: Run tests
run: ./gradlew testDebugUnitTest
- name: Build snapshot
run: ./gradlew assembleDebug
50 changes: 0 additions & 50 deletions .github/workflows/snapshot-build.yml

This file was deleted.

0 comments on commit b66e0ac

Please sign in to comment.