Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Mar 29, 2024
1 parent cd0aab0 commit 19b665d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Continuous Integration - tests

on:
push:
pull_request:

jobs:
formatting-and-testing:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Scarb
uses: software-mansion/setup-scarb@v1

- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Setup Starknet Foundry
uses: foundry-rs/setup-snfoundry@v3

- name: Format code
run: cargo fmt --check

- name: Run cargo tests
run: cargo test

- name: Run snforge tests
run: snforge test

0 comments on commit 19b665d

Please sign in to comment.