Skip to content

Commit 3c5d97a

Browse files
authored
fix(general): code coverage (#137)
* fix: blueprint.cue * fix: blueprint.cue * fix: update ci version * fix: remove tagging field * fix: test tag * fix: test path * fix: remove comment tag
1 parent 05efc44 commit 3c5d97a

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ permissions:
1313

1414
jobs:
1515
ci:
16-
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.1.0
16+
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.5.0
1717
with:
18-
forge_version: 0.2.0
18+
forge_version: 0.8.0
1919

20-
#test_reporting:
21-
# if: always()
22-
# needs: ci
23-
# uses: ./.github/workflows/generate-allure-report.yml
20+
test_reporting:
21+
if: always()
22+
needs: ci
23+
uses: ./.github/workflows/generate-allure-report.yml

.github/workflows/generate-allure-report.yml.disabled .github/workflows/generate-allure-report.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
continue-on-error: true
4141
with:
4242
command: run
43-
args: ./catalyst-libs+build
43+
args: ./rust+build
4444

4545
- name: Collect and upload test reports
4646
uses: actions/upload-artifact@v4
@@ -105,7 +105,6 @@ jobs:
105105
with:
106106
message: |
107107
${{ steps.allure.outputs.test_result_icon }} [Test Report](${{ steps.allure.outputs.report_url }}) | ${\color{lightgreen}Pass: ${{ steps.allure.outputs.test_result_passed }}/${{ steps.allure.outputs.test_result_total }}}$ | ${\color{red}Fail: ${{ steps.allure.outputs.test_result_failed }}/${{ steps.allure.outputs.test_result_total }}}$ |
108-
comment_tag: allure_report
109108
mode: upsert
110109

111110
generate-coverage-report:

blueprint.cue

+6-7
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ global: {
66
"^build(-.*)?$",
77
"^package(-.*)?$",
88
"^test(-.*)?$",
9-
"^release(-.*)?$",
10-
"^publish(-.*)?$",
119
]
1210
registries: [
13-
ci.providers.aws.registry,
11+
ci.providers.aws.ecr.registry,
1412
]
1513
providers: {
1614
aws: {
1715
region: "eu-central-1"
18-
registry: "332405224602.dkr.ecr.eu-central-1.amazonaws.com"
16+
ecr: registry: "332405224602.dkr.ecr.eu-central-1.amazonaws.com"
1917
role: "arn:aws:iam::332405224602:role/ci"
2018
}
2119

@@ -44,8 +42,9 @@ global: {
4442
path: "GITHUB_TOKEN"
4543
},
4644
]
47-
tagging: {
48-
strategy: "commit"
49-
}
45+
}
46+
repo: {
47+
defaultBranch: "main"
48+
name: "input-output-hk/catalyst-libs"
5049
}
5150
}

0 commit comments

Comments
 (0)