Skip to content

Commit

Permalink
changelogs/183.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshnsears committed Dec 23, 2024
1 parent 954e80f commit 75a1b49
Show file tree
Hide file tree
Showing 106 changed files with 1,308 additions and 1,242 deletions.
74 changes: 74 additions & 0 deletions .github/workflows/static-sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: static-sonarqube

on:
push:
branches:
- "*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: true

- name: local.properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: |
echo "$LOCAL_PROPERTIES" | base64 -d > local.properties
- name: local.properties.cloudLib
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES_CLOUDLIB }}
run: |
echo "$LOCAL_PROPERTIES" | base64 -d > QuoteUnquote.cloudLib/local.properties
ls -al QuoteUnquote.cloudLib/local.properties
- name: local.properties.utilsLib
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES_UTILSLIB }}
run: |
echo "$LOCAL_PROPERTIES" | base64 -d > QuoteUnquote.utilsLib/local.properties
ls -al QuoteUnquote.utilsLib/local.properties
- name: set up jdk
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17

- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: compileFdroidDebugKotlin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./gradlew :app:compileFdroidDebugKotlin :app:compileFdroidDebugJavaWithJavac
- name: sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./gradlew app:sonar --info
13 changes: 13 additions & 0 deletions .idea/androidTestResultsUserPreferences.xml

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

9 changes: 8 additions & 1 deletion .idea/kotlinc.xml

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

3 changes: 1 addition & 2 deletions .idea/misc.xml

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

4 changes: 2 additions & 2 deletions .idea/runConfigurations/_app_androidTest.xml

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

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

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

13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
| | ci | codecov | codacy | sonarcloud | deployment |
|------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| :app | codecov.yml | codecov.yml | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0d6227a494f747439d748802ca595999)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote&utm_campaign=Badge_Grade) | | |
| [:cloudLib](https://github.com/jameshnsears/QuoteUnquote.cloudLib) | [![coverage](https://github.com/jameshnsears/QuoteUnquote.cloudLib/actions/workflows/coverage.yml/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.cloudLib/actions/workflows/coverage.yml) | [![codecov](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib/branch/main/graph/badge.svg?token=hjNc1SbSgT)](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/78d7a9a166b9420b9dc47991ef7cb028)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote.cloudLib/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote.cloudLib&utm_campaign=Badge_Grade) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jameshnsears_QuoteUnquote.cloudLib&metric=alert_status)](https://sonarcloud.io/dashboard?id=jameshnsears_QuoteUnquote.cloudLib) | | |
| [:cloudLib](https://github.com/jameshnsears/QuoteUnquote.cloudLib) | [![coverage](https://github.com/jameshnsears/QuoteUnquote.cloudLib/actions/workflows/coverage.yml/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.cloudLib/actions/workflows/coverage.yml) | [![codecov](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib/branch/main/graph/badge.svg?token=hjNc1SbSgT)](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/78d7a9a166b9420b9dc47991ef7cb028)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote.cloudLib/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote.cloudLib&utm_campaign=Badge_Grade) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jameshnsears_QuoteUnquote.cloudLib&metric=alert_status)](https://sonarcloud.io/dashboard?id=jameshnsears_QuoteUnquote.cloudLib) | | |
| [functions](https://github.com/jameshnsears/QuoteUnquote.cloudLib.functions) | [![coverage](https://github.com/jameshnsears/QuoteUnquote.cloudLib.functions/actions/workflows/coverage.yml/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.cloudLib.functions/actions/workflows/coverage.yml) | [![codecov](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib.functions/branch/main/graph/badge.svg?token=jc55AxH2ry)](https://codecov.io/gh/jameshnsears/QuoteUnquote.cloudLib.functions) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/5c0ebcf94aac443a8637460cf1a4068b)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote.cloudLib.functions/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote.cloudLib.functions&utm_campaign=Badge_Grade) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jameshnsears_QuoteUnquote.cloudLib.functions&metric=alert_status)](https://sonarcloud.io/dashboard?id=jameshnsears_QuoteUnquote.cloudLib.functions) | [![deploy-gcp](https://github.com/jameshnsears/QuoteUnquote.cloudLib.functions/workflows/deploy-gcp/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.cloudLib.functions/actions?query=workflow%3Adeploy-gcp) |
| [:utilsLib](https://github.com/jameshnsears/QuoteUnquote.utilsLib) | [![coverage](https://github.com/jameshnsears/QuoteUnquote.utilsLib/actions/workflows/coverage.yml/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.utilsLib/actions/workflows/coverage.yml) | [![codecov](https://codecov.io/gh/jameshnsears/QuoteUnquote.utilsLib/branch/main/graph/badge.svg?token=UmWdOTiqB7)](https://codecov.io/gh/jameshnsears/QuoteUnquote.utilsLib) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/e9cd947f7acf4a5cb090d49a09a7df3f)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote.utilsLib/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote.utilsLib&utm_campaign=Badge_Grade) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jameshnsears_QuoteUnquote.utilsLib&metric=alert_status)](https://sonarcloud.io/dashboard?id=jameshnsears_QuoteUnquote.utilsLib) | | |
| [:utilsLib](https://github.com/jameshnsears/QuoteUnquote.utilsLib) | [![coverage](https://github.com/jameshnsears/QuoteUnquote.utilsLib/actions/workflows/coverage.yml/badge.svg)](https://github.com/jameshnsears/QuoteUnquote.utilsLib/actions/workflows/coverage.yml) | [![codecov](https://codecov.io/gh/jameshnsears/QuoteUnquote.utilsLib/branch/main/graph/badge.svg?token=UmWdOTiqB7)](https://codecov.io/gh/jameshnsears/QuoteUnquote.utilsLib) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/e9cd947f7acf4a5cb090d49a09a7df3f)](https://www.codacy.com/gh/jameshnsears/QuoteUnquote.utilsLib/dashboard?utm_source=github.com&utm_medium=referral&utm_content=jameshnsears/QuoteUnquote.utilsLib&utm_campaign=Badge_Grade) | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jameshnsears_QuoteUnquote.utilsLib&metric=alert_status)](https://sonarcloud.io/dashboard?id=jameshnsears_QuoteUnquote.utilsLib) | | |

### 1.1. codecov.yml

Expand All @@ -23,10 +23,9 @@

## 2. Build Instructions

After cloning extract .gpg files - BuildConfig / GitHub Action Secrets values.
After cloning I extract .gpg files (BuildConfig, GitHub Action Secrets values) to create local.properties

The app can be built on Windows 11 but the ./bin folder contains bash scripts (that work with git
bash; some require gh cli).
The app can be built on Windows 11 but the ./bin folder contains bash scripts (that work with git bash; some require gh cli).

### 2.1. CLI

Expand Down Expand Up @@ -71,12 +70,12 @@ After a clone...
PyCharm > Open > QuoteUnquote.cloudLib.functions
File > Settings > Project:
> set Intepreter > New Virtualenv Environment
> set Interpreter > New Virtualenv Environment
Virtualenv Terminal >
> python -m pip install -r requirements-test.txt
> python -m pip install -r src/requirements.txt
run a Run/Debug Configuration
> setting Python Intepreter to Virtualenv Environment
> setting Python Interpreter to Virtualenv Environment
```
Loading

0 comments on commit 75a1b49

Please sign in to comment.