Skip to content

Add CI/CD for unit tests #54

Add CI/CD for unit tests

Add CI/CD for unit tests #54

Workflow file for this run

name: Code Quality
on:
workflow_dispatch:
push:
branches: [ main ]
# Only run tests if we modify the following files
paths:
- "src/**/*.py"
pull_request:
branches: [ '**' ]
paths:
- "src/**/*.py"
jobs:
cloc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Count Lines of Code (cloc)
uses: djdefi/cloc-action@6
with:
options: --exclude-dir=docs,tests,examples --exclude-lang=YAML --exclude-list-file=sanity_checks.py