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

Merge develop into next #4575

Merged
merged 21 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
af07c00
fix: builds on various archs/platforms re: PR 4331
wileyj Feb 1, 2024
49fcb0d
Merge branch 'develop' into fix/c-deps_master
wileyj Feb 2, 2024
99faa86
Merge branch 'master' into chore/merge-master-to-develop-20240206
jcnelson Feb 6, 2024
228e9fb
Merge pull request #4347 from stacks-network/chore/merge-master-to-de…
jcnelson Feb 7, 2024
28f2cc3
Merge branch 'develop' into fix/c-deps_master
wileyj Feb 9, 2024
2c2afbc
Merge pull request #4335 from stacks-network/fix/c-deps_master
wileyj Feb 9, 2024
bb19497
feat: use composite action to generate checksums for github-release
BowTiedDevOps Feb 15, 2024
ca3df48
feat: add job to check multiple tests' success at once
BowTiedDevOps Feb 20, 2024
c8aa832
Merge pull request #4384 from BowTiedDevOps/ci/move-checksum-generati…
wileyj Feb 28, 2024
f4593c1
Merge branch 'develop' into feat/check-jobs-success-with-composite
wileyj Feb 28, 2024
33c05d1
Merge pull request #4401 from BowTiedDevOps/feat/check-jobs-success-w…
wileyj Feb 28, 2024
c240216
chore: use `MAX` instead of `max_value()` for numeric types, #3682
va-an Mar 13, 2024
b3a5071
docs: update repo url, #4494
va-an Mar 13, 2024
0ccffa8
Merge pull request #4529 from va-an/chore/replace-u32-max_value
obycode Mar 13, 2024
6c9010c
fix: handle burn chain flapping
obycode Mar 19, 2024
a9ec3aa
chore: address PR feedback
obycode Mar 20, 2024
ff1bb44
chore: revert `test_debug!` -> `debug!` change
obycode Mar 20, 2024
657bc00
chore: expose `start_bitcoind` errors
obycode Mar 20, 2024
be97a0b
chore: comment out integration test for now
obycode Mar 21, 2024
eaa1b22
Merge pull request #4563 from stacks-network/fix/burn-chain-flap
obycode Mar 21, 2024
5d4f8cd
Merge branch 'develop' into merge-develop
obycode Mar 21, 2024
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
14 changes: 14 additions & 0 deletions .github/workflows/atlas-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,17 @@ jobs:
uses: stacks-network/actions/codecov@main
with:
test-name: ${{ matrix.test-name }}

check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- atlas-tests
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
14 changes: 14 additions & 0 deletions .github/workflows/bitcoin-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,17 @@ jobs:
uses: stacks-network/actions/codecov@main
with:
test-name: ${{ matrix.test-name }}

check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- integration-tests
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
14 changes: 14 additions & 0 deletions .github/workflows/epoch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,17 @@ jobs:
uses: stacks-network/actions/codecov@main
with:
test-name: ${{ matrix.test-name }}

check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- epoch-tests
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
14 changes: 14 additions & 0 deletions .github/workflows/slow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,17 @@ jobs:
uses: stacks-network/actions/codecov@main
with:
test-name: ${{ matrix.test-name }}

check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- slow-tests
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
16 changes: 16 additions & 0 deletions .github/workflows/stacks-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,19 @@ jobs:
with:
args: test --manifest-path=./contrib/core-contract-tests/Clarinet.toml contrib/core-contract-tests/tests/bns/name_register_test.ts

check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- full-genesis
- unit-tests
- open-api-validation
- core-contracts-clarinet-test
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
29 changes: 29 additions & 0 deletions docs/ci-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,35 @@ ex:
- `Stacks Blockchain Tests`:
- `full-genesis`: Tests related to full genesis

### Checking the result of multiple tests at once

You can use the [check-jobs-status](https://github.com/stacks-network/actions/tree/main/check-jobs-status) composite action in order to check that multiple tests are successful in 1 job.
If any of the tests given to the action (JSON string of `needs` field) fails, the step that calls the action will also fail.

If you have to mark more than 1 job from the same workflow required in a ruleset, you can use this action in a separate job and only add that job as required.

In the following example, `unit-tests` is a matrix job with 8 partitions (i.e. 8 jobs are running), while the others are normal jobs.
If any of the 11 jobs are failing, the `check-tests` job will also fail.

```yaml
check-tests:
name: Check Tests
runs-on: ubuntu-latest
if: always()
needs:
- full-genesis
- unit-tests
- open-api-validation
- core-contracts-clarinet-test
steps:
- name: Check Tests Status
id: check_tests_status
uses: stacks-network/actions/check-jobs-status@main
with:
jobs: ${{ toJson(needs) }}
summary_print: "true"
```

## Triggering a workflow

### PR a branch to develop
Expand Down