Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
friedger committed Apr 18, 2024
1 parent 303a002 commit 26212e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

@friedger
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on: [push]
jobs:
tests:
name: 'Test contracts with Clarinet'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Check contracts'
uses: docker://hirosystems/clarinet:2.5.1
with:
args: check --manifest-path=./Clarinet.toml
- name: 'Run unit tests'
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: yarn install
- run: yarn test
- name: 'Export code coverage'
uses: codecov/codecov-action@v1
with:
files: ./coverage.lcov
verbose: true

0 comments on commit 26212e6

Please sign in to comment.