Skip to content

Commit

Permalink
ci(onchain): add workflow file to test contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xibs committed Sep 29, 2024
1 parent 5d0e5b6 commit 4e3cc62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion onchain/.github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ name: CI

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
sozo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: curl -L https://install.dojoengine.org | bash
- run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.0-alpha.6
- run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.0-alpha.13
- run: |
/home/runner/.config/.dojo/bin/sozo build
/home/runner/.config/.dojo/bin/sozo test
Expand Down

0 comments on commit 4e3cc62

Please sign in to comment.