Skip to content

Commit

Permalink
#7 github pipeline created
Browse files Browse the repository at this point in the history
  • Loading branch information
mjureczko committed Dec 18, 2023
1 parent f8435f4 commit 99ba6da
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 42 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/test_app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Test the App

on:
push:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v2
with:
# Number of commits to fetch. 0 indicates all history for all branches and tags.
fetch-depth: 0

- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'

- name: Setup Android SDK
uses: android-actions/setup-android@v2

# Cache Gradle dependencies and Gradle Wrapper
- name: Setup Gradle Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}

- name: Make gradlew executable
run: chmod +x ./gradlew

- name: Run Test
run: ./gradlew check
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ open class StorageHelper(val context: Context) {
fun loadAll(): MutableList<Route> {
val dir = getRoutesDir()
return dir.listFiles()
.filter { it.name.toLowerCase().endsWith(".xml") }
.filter { it.name.lowercase().endsWith(".xml") }
.mapNotNull {
try {
xmlHelper.loadRouteFromFile(it)
Expand Down
21 changes: 0 additions & 21 deletions bitbucket-pipelines.yml

This file was deleted.

20 changes: 0 additions & 20 deletions polityka bezpieczeństwa

This file was deleted.

0 comments on commit 99ba6da

Please sign in to comment.