This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
CI: Add starknetjs compatibilty tests (#1195) #185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Workflow - Push | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
linters: | |
name: Run linters | |
uses: ./.github/workflows/linters.yml | |
rust_build_test: | |
name: Build & Integration Tests | |
uses: ./.github/workflows/rust-build-test.yml | |
madara_commands: | |
name: Test Madara commands | |
uses: ./.github/workflows/madara-commands.yml | |
needs: [linters, rust_build_test] | |
linters_cargo: | |
name: Run Cargo linters | |
uses: ./.github/workflows/linters-cargo.yml | |
needs: madara_commands | |
rpc-tests: | |
name: Run rpc tests | |
uses: ./.github/workflows/starknet-rpc-tests.yml | |
needs: madara_commands | |
starknet-js-tests: | |
name: Run starknet-js compatibility tests | |
uses: ./.github/workflows/starknet-js-tests.yml | |
needs: madara_commands | |
# https://github.com/keep-starknet-strange/madara/issues/1097 | |
# benchmark: | |
# name: Run benchmarks | |
# uses: ./.github/workflows/benchmarks.yml | |
# needs: [rust_build, tests] | |
# permissions: | |
# # deployments permission to deploy GitHub pages website | |
# deployments: write | |
# # contents permission to update benchmark contents in gh-pages branch | |
# contents: write | |
# # post on the pull-request page | |
# pull-requests: write | |
rustdoc: | |
name: Deploy docs to GitHub Pages | |
uses: ./.github/workflows/rustdoc.yml | |
needs: linters_cargo | |
permissions: | |
contents: write |