This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
Test with coverage #105
This file contains 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
# Periodically runs the tests on master and posts coverage results to codecov. | |
name: Test with coverage | |
on: | |
workflow_dispatch: {} | |
schedule: | |
# Run every 12 hours. | |
- cron: '0 */12 * * *' | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
info: | |
name: info | |
uses: ./.github/workflows/ci-info.yml | |
permissions: | |
contents: read | |
with: | |
ref: master | |
is-snapshot: true | |
secrets: inherit | |
ci: | |
name: CI | |
needs: [info] | |
uses: ./.github/workflows/ci.yml | |
permissions: | |
contents: read | |
# To sign artifacts. | |
id-token: write | |
with: | |
ref: master | |
version: ${{ needs.info.outputs.version }} | |
lint: true | |
build-all-targets: true | |
test-codegen: true | |
test-version-sets: current | |
integration-test-platforms: ubuntu-latest | |
acceptance-test-platforms: macos-latest windows-latest | |
enable-coverage: true | |
secrets: inherit |