diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 298087a..f5bb6b6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,20 +9,26 @@ on: jobs: test: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 + + - name: Set up Python + uses: actions/setup-python@v5 with: python-version: '3.11' - + - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" - + pip install click>=8.0 requests>=2.28 pyyaml>=6.0 + pip install pytest pytest-cov + - name: Run tests - run: pytest tests/ -v - - - name: Check code style (ruff) - run: pip install ruff && ruff check . + run: | + python -m pytest tests/ -v + + - name: Check linting + run: | + pip install ruff + python -m ruff check . \ No newline at end of file