Skip to content

CCIP-020: Graceful Protocol Shutdown #281

CCIP-020: Graceful Protocol Shutdown

CCIP-020: Graceful Protocol Shutdown #281

Workflow file for this run

# 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 }}