diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 000000000..f5b7c13f7
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,49 @@
+
+name: CI
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout the code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 17
+ uses: actions/setup-java@v4
+ with:
+ java-version: '17'
+ distribution: 'adopt'
+
+ - name: Decode google-services.json
+ run: echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 -d > app/google-services.json
+ env:
+ GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
+
+ - name: Make gradlew executable
+ run: chmod +x gradlew
+
+ - name: gradle wrapper
+ run: gradle wrapper
+
+ - name: Build with Gradle
+ run: ./gradlew build
+
+ - name: Run tests
+ run: ./gradlew test
+
+ # TODO ADD COMPOSE TESTS STEP
+
+ - name: Upload test report
+ uses: actions/upload-artifact@v4
+ with:
+ name: unit_test_report
+ path: app/build/reports/tests/testDebugUnitTest/
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 419036e72..753c77b1e 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -83,6 +83,9 @@ android {
isIncludeAndroidResources = true // robolectric
}
}
+ lint {
+ abortOnError = false
+ }
}
composeCompiler {
featureFlags = setOf(
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index a575a7c89..27751a6df 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -173,4 +173,4 @@
Wygląda na to, że wysyłasz ponad 50% swojego salda. Czy kontynuować?
Sukces
Faktura
-
\ No newline at end of file
+