Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
codecov:
require_ci_to_pass: no
notify:
wait_for_ci: no

coverage:
precision: 2
round: down
range: "50...70"
status:
patch: off
default_rules:
flag_coverage_not_uploaded_behavior: exclude
project:
default:
target: auto
threshold: 0%
base: auto
if_ci_failed: success
informational: false
only_pulls: true

comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: no
require_base: no
require_head: no
after_n_builds: 1

# Components configuration
component_management:
individual_components:
- component_id: "com.unity.cinemachine"
name: "com.unity.cinemachine"
paths:
- com.unity.cinemachine
5 changes: 1 addition & 4 deletions .yamato/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ code_coverage_-_ubuntu_-_trunk:
flavor: b1.large
commands:
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
- command: upm-ci package test -u trunk --package-path com.unity.cinemachine --type package-tests --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Cinemachine*" --extra-utr-arg=--coverage-results-path=${YAMATO_SOURCE_DIR}/upm-ci~/test-results/CoverageResults
- command: curl -Os https://uploader.codecov.io/latest/linux/codecov
- command: chmod a+x ./codecov
- command: ./codecov -v -t "${CODECOV_TOKEN}" -B "${GIT_BRANCH}" -T "${GIT_TAG}" -P "${YAMATO_PR_ID}" -f "upm-ci~/test-results/CoverageResults/**/*.xml"
- command: upm-ci package test -u trunk --package-path com.unity.cinemachine --type package-tests --enable-code-coverage --code-coverage-options "generateAdditionalMetrics;generateHtmlReport;assemblyFilters:+Unity.Cinemachine,+Unity.Cinemachine.Editor" --extra-utr-arg="--coverage-results-path=${YAMATO_SOURCE_DIR}/upm-ci~/test-results/CoverageResults --coverage-upload-options=\"reportsDir:upm-ci~/test-results;name:Ubuntu_trunk;flags:Ubuntu_trunk\""
artifacts:
packages:
paths:
Expand Down
6 changes: 3 additions & 3 deletions .yamato/wrench/api-validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ api_validation_-_cinemachine_-_2022_3_-_windows:
- command: npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
timeout: 20
retries: 10
- command: unity-downloader-cli -u 2022.3/staging -c Editor --fast
- command: unity-downloader-cli -u 2022.3/staging -c editor --path .Editor --fast
timeout: 10
retries: 3
- command: python PythonScripts/PackageJsonCondersor.py
Expand Down Expand Up @@ -51,8 +51,8 @@ api_validation_-_cinemachine_-_2022_3_-_windows:
dependencies:
- path: .yamato/wrench/package-pack-jobs.yml#package_pack_-_cinemachine
variables:
UPMPVP_CONTEXT_WRENCH: 0.10.50.0
UPMPVP_CONTEXT_WRENCH: 0.12.2.0
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.50.0
Wrench: 0.12.2.0

2 changes: 1 addition & 1 deletion .yamato/wrench/package-pack-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ package_pack_-_cinemachine:
UPMCI_ACK_LARGE_PACKAGE: 1
metadata:
Job Maintainers: '#rm-packageworks'
Wrench: 0.10.50.0
Wrench: 0.12.2.0

Loading
Loading