fix: add toggle resource tests, remove delete resource tests #15
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
# allow running manually | |
workflow_dispatch: | |
jobs: | |
test-contracts: | |
name: "Test contracts with Clarinet" | |
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: "Setup Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: "Prep CI" | |
run: npm ci | |
- name: "Execute unit tests" | |
run: npm run test:report | |
- name: "Upload code coverage" | |
uses: codecov/codecov-action@v3 | |
with: | |
files: ./coverage.lcov | |
verbose: true |