Skip to content

Commit

Permalink
CI: Add a job that runs verify
Browse files Browse the repository at this point in the history
Add a job that runs `verify --all` to CI.
  • Loading branch information
tcharding committed Dec 16, 2024
1 parent 4b20b3e commit b2d962c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Run from `rust.yml` unless stated otherwise. Total 11 jobs.
8. `Docs`
9. `Docsrs`
10. `Format`
11. `Verify`

+15 jobs - 1 for each supported version of Core.

Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,20 @@ jobs:
- name: "Check formatting"
run: cargo fmt --all -- --check

Verify: # 1 job, run `verify` directly.
name: Verify - stable toolchain
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: "Checkout repo"
uses: actions/checkout@v4
- name: "Select toolchain"
uses: dtolnay/rust-toolchain@stable
- name: "Run the verify program"
# Verify all versions (known to the verify program)
run: cd verify && cargo run all

Integration: # 1 job for each bitcoind version we support.
name: Integration tests - stable toolchain
runs-on: ubuntu-latest
Expand Down

0 comments on commit b2d962c

Please sign in to comment.