Skip to content

Commit

Permalink
Test CI with nightly, fix missed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Mar 20, 2022
1 parent 563ff4e commit f91a470
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest stable
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly
override: true
- name: Test main lib
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast
args: --workspace --all-features --all-targets --no-fail-fast
- name: Test slip132
uses: actions-rs/cargo@v1
with:
Expand Down
24 changes: 3 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ serde_crate = { package = "serde", version = "1", features = ["derive"], optiona
serde_with = { version = "1.8", optional = true }

[dev-dependencies]
secp256k1 = { version = "0.22.0", features = ["global-context-less-secure"] }
secp256k1 = { version = "0.21.2", features = ["global-context"] }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion scripts/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pub(crate) mod test {
pub(crate) fn gen_bitcoin_pubkeys(n: usize, compressed: bool) -> Vec<bitcoin::PublicKey> {
gen_secp_pubkeys(n)
.into_iter()
.map(|key| bitcoin::PublicKey { key, compressed })
.map(|inner| bitcoin::PublicKey { inner, compressed })
.collect()
}

Expand Down

0 comments on commit f91a470

Please sign in to comment.