Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ on:
description: 'The SHA of the binary to verify before executing the tests. Find these in the official SHA256SUMS file for each release. Example: https://bitcoincore.org/bin/bitcoin-core-31.1/SHA256SUMS'
required: false
type: string
pull_request:
pull_request: # Trigger on pull requests
types:
- opened
- reopened
- synchronize
schedule: # For code coverage
# Run at 00:00 UTC daily
- cron: "0 0 * * *"
Comment thread
dhaney-stacks marked this conversation as resolved.
Outdated

# Set default permissions for all jobs
permissions:
Expand All @@ -46,8 +49,8 @@ env:
TEST_ARCHIVE_FILE: "./test_archive.tar.zst"
# Whether or not to create the slow and failed tests summary
CREATE_SLOW_FAILED_TESTS_SUMMARY: ${{ (vars.ENABLE_CI_WORKFLOWS == 'true' || github.repository == 'stacks-network/stacks-core') && github.event_name != 'merge_group' }}
# Whether or not to create the code coverage report
CREATE_CODE_COVERAGE_REPORT: ${{ github.repository == 'stacks-network/stacks-core' }}
# Whether or not to create the code coverage report. We create the code coverage report daily on a CRON schedule, rather than on each PR or merge
CREATE_CODE_COVERAGE_REPORT: ${{ github.repository == 'stacks-network/stacks-core' && github.event_name == 'schedule' && github.ref == 'refs/heads/main' }}

jobs:
# Check if CI is enabled
Expand Down
Loading