-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from raccoongang/develop
Develop to master v1.3
- Loading branch information
Showing
87 changed files
with
1,012 additions
and
1,223 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @raccoongang/educationx-app-android-reviewers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Bug report for the EducationX Android app | ||
description: Report any issues that you have found with the EducationX Android app. Please [check open issues](https://github.com/raccoongang/educationx-app-android/issues) first, in case it has already been reported. | ||
labels: [Bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
Please report security issues by email to [email protected] | ||
- type: textarea | ||
id: reproduction-steps | ||
attributes: | ||
label: Steps to reproduce | ||
description: Please attach screenshots, videos or logs if you can. | ||
placeholder: Tell us what you see! | ||
value: | | ||
1. Where are you starting? What can you see? | ||
2. What do you click? | ||
3. More steps… | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: result | ||
attributes: | ||
label: Outcome | ||
placeholder: Tell us what went wrong | ||
value: | | ||
#### What did you expect? | ||
#### What happened instead? | ||
validations: | ||
required: true | ||
- type: input | ||
id: device | ||
attributes: | ||
label: Your phone model | ||
placeholder: e.g. Samsung Galaxy S10 | ||
validations: | ||
required: false | ||
- type: input | ||
id: os | ||
attributes: | ||
label: Operating system version | ||
placeholder: e.g. Tiramisu (OS 13), under "software version" | ||
validations: | ||
required: false | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Application version | ||
description: You can find the version information in the Settings of EducationX IOS. | ||
placeholder: | | ||
e.g. Version: v1.2.2 | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Test | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: { } | ||
push: | ||
branches: [ main, develop ] | ||
|
||
# Enrich gradle.properties for CI/CD | ||
env: | ||
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3072m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false | ||
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 4 --warn | ||
|
||
jobs: | ||
tests: | ||
name: Runs unit tests | ||
runs-on: ubuntu-latest | ||
|
||
# Allow all jobs on main and develop. Just one per PR. | ||
concurrency: | ||
group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || github.ref == 'refs/heads/develop' && format('unit-tests-develop-{0}', github.sha) || format('unit-tests-{0}', github.ref) }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: ⏬ Checkout with LFS | ||
uses: nschloe/[email protected] | ||
with: | ||
# Ensure we are building the branch and not the branch after being merged on develop | ||
# https://github.com/actions/checkout/issues/881 | ||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: ☕️ Use JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' # See 'Supported distributions' for available options | ||
java-version: '17' | ||
- name: Configure gradle | ||
uses: gradle/[email protected] | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | ||
|
||
- name: Run unit tests | ||
run: ./gradlew testProdReleaseUnitTest $CI_GRADLE_ARG_PROPERTIES | ||
|
||
- name: Upload reports | ||
uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: failures | ||
path: app/build/reports/ | ||
retention-days: 5 |
Oops, something went wrong.