mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: ci test 7
This commit is contained in:
parent
765ad6e60b
commit
b249a50a34
53
.github/workflows/ci.yml
vendored
53
.github/workflows/ci.yml
vendored
@ -72,38 +72,23 @@ jobs:
|
||||
run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh
|
||||
|
||||
|
||||
# test:
|
||||
# strategy:
|
||||
# matrix:
|
||||
# platform: [ ubuntu-latest ]
|
||||
# runs-on: ${{ matrix.platform }}
|
||||
# timeout-minutes: 60
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ ubuntu-latest ]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
timeout-minutes: 60
|
||||
|
||||
# name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
||||
# steps:
|
||||
# - name: Checkout sources
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Install stable toolchain
|
||||
# uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: nightly
|
||||
# override: true
|
||||
# - uses: Swatinem/rust-cache@v2
|
||||
# - name: install risc0
|
||||
# if: success() || failure()
|
||||
# run: |
|
||||
# curl -L https://risczero.com/install | bash
|
||||
# - name: install risc0 step 2
|
||||
# if: success() || failure()
|
||||
# run: |
|
||||
# source /home/runner/.bashrc && rzup install && source /home/runner/.bashrc
|
||||
# - name: test mempool
|
||||
# if: success() || failure()
|
||||
# run: cargo test -p mempool
|
||||
# - name: test storage
|
||||
# if: success() || failure()
|
||||
# run: cargo test -p storage
|
||||
# - name: test zkvm
|
||||
# if: success() || failure()
|
||||
# run: cargo test -p zkvm
|
||||
name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v3
|
||||
- name: Install stable toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: test ubuntu-latest
|
||||
if: success() || failure()
|
||||
run: chmod 777 ./ci_scripts/test-ubuntu.sh && ./ci_scripts/test-ubuntu.sh
|
||||
|
||||
@ -5,45 +5,4 @@ curl -L https://risczero.com/install | bash
|
||||
cargo install taplo-cli --locked
|
||||
|
||||
cargo fmt -- --check
|
||||
|
||||
cd accounts
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd consensus
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd mempool
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd networking
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd rpc_primitives
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd sequencer_core
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd sequencer_rpc
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd sequencer_runner
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd storage
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
cd utxo
|
||||
cargo clippy --release -- -D warnings
|
||||
cd ..
|
||||
|
||||
taplo fmt --check
|
||||
6
ci_scripts/test-ubuntu.sh
Normal file
6
ci_scripts/test-ubuntu.sh
Normal file
@ -0,0 +1,6 @@
|
||||
set -e
|
||||
|
||||
curl -L https://risczero.com/install | bash
|
||||
/home/runner/.risc0/bin/rzup install
|
||||
|
||||
cargo test --release
|
||||
Loading…
x
Reference in New Issue
Block a user