CCIP-020: Graceful Protocol Shutdown #281
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@v4 | |
- name: "Check contract syntax" | |
uses: docker://hirosystems/clarinet:1.8.0 | |
with: | |
args: check | |
- name: "Run all contract tests" | |
uses: docker://hirosystems/clarinet:1.8.0 | |
with: | |
args: test --coverage | |
- name: "Upload code coverage" | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.lcov | |
token: ${{ secrets.CODECOV_TOKEN }} |