Skip to content

Commit

Permalink
add Cadence-based tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Oct 18, 2024
1 parent 0b1b284 commit 0320e41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ jobs:
run: flow version
- name: Update PATH
run: echo "/root/.local/bin" >> $GITHUB_PATH
- name: Run tests
- name: Run Go-based tests
run: export GOPATH=$HOME/go && make ci

- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"

- name: Run Cadence-based tests
run: cd contracts && flow test --cover --covercode="contracts" Crypto_test.cdc
2 changes: 1 addition & 1 deletion contracts/flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"contracts": {
"Crypto": {
"source": "crypto.cdc",
"source": "Crypto.cdc",
"aliases": {
"testing": "0x0000000000000007"
}
Expand Down

0 comments on commit 0320e41

Please sign in to comment.