From bfbb91ec4f78ae0e92ec8ab97d139e3cf58323dc Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 5 Feb 2026 22:20:36 +0000 Subject: [PATCH] Add Gitea Actions workflow: ci.yml --- .gitea/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 14d597a..ef14904 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: python -m pip install ruff - name: Run linting - run: python -m ruff check repohealth-cli/src/ repohealth-cli/tests/ + run: python -m ruff check src/ tests/ test: runs-on: ubuntu-latest @@ -46,11 +46,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install -r repohealth-cli/requirements.txt + python -m pip install -r requirements.txt python -m pip install pytest pytest-cov - name: Run tests - run: python -m pytest repohealth-cli/tests/ -xvs --tb=short + run: python -m pytest tests/ -xvs --tb=short - name: Upload coverage uses: actions/upload-artifact@v4 @@ -75,10 +75,8 @@ jobs: - name: Install build dependencies run: | python -m pip install --upgrade pip - python -m pip install -r repohealth-cli/requirements.txt + python -m pip install -r requirements.txt python -m pip install build - name: Build package - run: | - cd repohealth-cli - python -m build \ No newline at end of file + run: python -m build