Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(new workflow): Run tests on master every 12 hours #13334

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/periodic-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# 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