Skip to content

Commit

Permalink
add astria-address to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFluffy committed Nov 12, 2024
1 parent 39d10c4 commit e455742
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,38 @@ jobs:
run: |
cargo nextest run --package astria-bridge-withdrawer -- --include-ignored
# Specifically for tools other than the protobuf and solidity compilers which
# are run as part of other steps. (only `tools/astria-address` for now).
rust-tools:
runs-on: buildjet-8vcpu-ubuntu-2204
needs: run_checker
if: needs.run_checker.outputs.run_tests == 'true'
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUSTUP_TOOLCHAIN }}
- uses: Swatinem/[email protected]
with:
cache-provider: "buildjet"
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Build tests
run: |
cargo nextest archive \
--manifest-path tools/astria-address/Cargo.toml \
--archive-file=archive.tar.zst \
--release \
--all-features \
--all-targets \
- name: Run tests
timeout-minutes: 20
run: |
cargo nextest run --archive-file=archive.tar.zst
doctest:
runs-on: buildjet-8vcpu-ubuntu-2204
needs: run_checker
Expand Down Expand Up @@ -280,7 +312,7 @@ jobs:
test:
if: ${{ always() && !cancelled() }}
needs: [compiles, protos-compiled, solidity-contracts-compiled, rust, doctest, clippy, lockfile, custom-lints]
needs: [compiles, protos-compiled, solidity-contracts-compiled, rust, rust-tools, doctest, clippy, lockfile, custom-lints]
uses: ./.github/workflows/reusable-success.yml
with:
success: ${{ !contains(needs.*.result, 'failure') }}

0 comments on commit e455742

Please sign in to comment.