Merge pull request #274 from ouchadam/tech/update-engine
Tech/update engine
This commit is contained in:
commit
12c4ae5221
|
@ -25,26 +25,10 @@ jobs:
|
|||
java-version: '11'
|
||||
- uses: gradle/gradle-build-action@v2
|
||||
|
||||
- name: Create pip requirements
|
||||
run: |
|
||||
echo "matrix-synapse" > requirements.txt
|
||||
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
cache: 'pip'
|
||||
|
||||
- name: Start synapse server
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
curl -sL https://gist.githubusercontent.com/ouchadam/e3ad09ec382bd91a66d88ab575ea7c31/raw/run.sh \
|
||||
| bash -s -- --no-rate-limit
|
||||
|
||||
- name: Run all unit tests
|
||||
run: ./gradlew clean allCodeCoverageReport --no-daemon
|
||||
run: ./gradlew allCodeCoverageReport
|
||||
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
verbose: true
|
||||
files: ./build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml,./chat-engine/build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml
|
||||
files: ./build/reports/jacoco/allCodeCoverageReport/allCodeCoverageReport.xml
|
|
@ -1 +1 @@
|
|||
Subproject commit 2ac5fc22a562362acc8b4b4d527580221085971d
|
||||
Subproject commit 0439dc648c91af643dd480b359ce48bd11700d89
|
|
@ -77,7 +77,6 @@ task allCodeCoverageReport(type: JacocoReport) {
|
|||
rootProject.apply plugin: 'jacoco'
|
||||
def projects = collectProjects { !it.name.contains("stub") && !it.name.contains("-noop") }
|
||||
dependsOn { ["app:assembleDebug"] + projects*.test }
|
||||
dependsOn gradle.includedBuild("chat-engine").task(":allCodeCoverageReport")
|
||||
initializeReport(it, projects, excludes)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue