Skip to content

Pin clarinet version 1.8.0 #252

Pin clarinet version 1.8.0

Pin clarinet version 1.8.0 #252

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@v3
- 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@v3
with:
files: ./coverage.lcov