Skip to content

chore(deps): update dependency ubuntu to v24 #1842

chore(deps): update dependency ubuntu to v24

chore(deps): update dependency ubuntu to v24 #1842

---
name: generate_and_upload_coverage_data
'on':
workflow_dispatch:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
generate_and_upload_coverage_data:
name: generate_and_upload_coverage_data
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: Validate codecov.yml file
run: |
./validate_codecov_yml.sh
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.14
- name: Set up Poetry
uses: snok/install-poetry@a783c322200f0519c7926aa6faa857c4e23e9263 # v1.4.2
- name: Install dependencies
env:
POETRY_INSTALLER_ONLY_BINARY: ":all:"
run: |
poetry install --with dev
- name: Install language dependencies
working-directory: ${{github.workspace}}/system_setup_scripts
run: |
sudo apt-get update
sudo ./install_all.sh
./install_all_no_sudo.sh
- name: Generate coverage data
run: |
./generate_coverage_data.sh \
--composition_chain_size=0 \
--iteration_size=0
- name: Sonar Scan
uses: SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
env:
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
- name: Upload coverage report to Codecov (tokenless)
if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
fail_ci_if_error: true
- name: Upload coverage report to Codacy
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml
- name: Upload coverage report as an artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: coverage_report
path: |
coverage.xml
htmlcov
if-no-files-found: error
retention-days: 5
...