CCIP-020: Graceful Protocol Shutdown #248
Workflow file for this run
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
# GitHub action to run Clarinet tests against the contracts | |
# and fail if code is invalid or a test fails. | |
name: Test Contracts | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
# allow running manually | |
workflow_dispatch: | |
env: | |
CLARINET_DISABLE_HINTS: 1 | |
jobs: | |
test-contracts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v3 | |
- name: "Check contract syntax" | |
uses: docker://hirosystems/clarinet:latest | |
with: | |
args: check | |
- name: "Run all contract tests" | |
uses: docker://hirosystems/clarinet:latest | |
with: | |
args: test --coverage | |
- name: "Upload code coverage" | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.lcov |