Debian Codegraph @

crt/aws-c-cal/.github/workflows/codecov.yml

raw symbols SCIP
1 name: Code coverage check
2
3 on:
4 push:
5
6 env:
7 BUILDER_VERSION: v0.9.74
8 BUILDER_SOURCE: releases
9 BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
10 PACKAGE_NAME: aws-c-cal
11 RUN: ${{ github.run_id }}-${{ github.run_number }}
12 CRT_CI_ROLE: ${{ secrets.CRT_CI_ROLE_ARN }}
13 AWS_DEFAULT_REGION: us-east-1
14
15 permissions:
16 id-token: write # This is required for requesting the JWT
17
18 jobs:
19 codecov-linux:
20 runs-on: ubuntu-24.04
21 steps:
22 - uses: aws-actions/configure-aws-credentials@v4
23 with:
24 role-to-assume: ${{ env.CRT_CI_ROLE }}
25 aws-region: ${{ env.AWS_DEFAULT_REGION }}
26 - name: Checkout Sources
27 uses: actions/checkout@v4
28 - name: Build ${{ env.PACKAGE_NAME }} + consumers
29 run: |
30 python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
31 chmod a+x builder
32 ./builder build -p ${{ env.PACKAGE_NAME }} --compiler=gcc --cmake-extra=-DASSERT_LOCK_HELD=ON --coverage