Skip to content

Commit

Permalink
ci: fix contract tests (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-eren authored Aug 30, 2024
1 parent da05713 commit c0cada6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

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

Expand All @@ -21,7 +21,7 @@ jobs:
- name: Build cairo contracts
run: scarb build
working-directory: contracts

tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -30,7 +30,10 @@ jobs:

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


- name: Set up SNForge
uses: foundry-rs/setup-snfoundry@v3

- name: Run cairo tests
run: scarb test
working-directory: contracts
run: scarb test
working-directory: contracts

0 comments on commit c0cada6

Please sign in to comment.