diff --git a/.gitea/workflows/repohealth.yml b/.gitea/workflows/repohealth.yml new file mode 100644 index 0000000..e5c433d --- /dev/null +++ b/.gitea/workflows/repohealth.yml @@ -0,0 +1,23 @@ +name: repohealth-cli CI + +on: + push: + branches: [main] + paths: + - 'repohealth-cli/**' + pull_request: + branches: [main] + paths: + - 'repohealth-cli/**' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - run: cd repohealth-cli && pip install -e ".[dev]" + - run: cd repohealth-cli && pytest tests/ -v + - run: cd repohealth-cli && ruff check src/ tests/ \ No newline at end of file