[cov,ci] Collect test coverage on CI #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright lowRISC contributors (OpenTitan project). | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # FIXME: Remove this file. | |
| # Temporary workflow to test the quick coverage job. | |
| # This job will be integrated back into ci.yml as a coverage presubmit | |
| # once the contents is restored. | |
| name: CI2 | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| # Needed for workload identity federation | |
| id-token: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| VIVADO_VERSION: "2021.1" | |
| # Release tag from https://github.com/lowRISC/lowrisc-toolchains/releases | |
| TOOLCHAIN_VERSION: 20220210-1 | |
| jobs: | |
| hello: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Hello | |
| run: | | |
| echo "OK" | |
| quick_coverage: | |
| name: Coverage Tests | |
| uses: ./.github/workflows/ci.yml | |
| secrets: inherit |