diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e000b0f..662d4dd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,34 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Install dependencies run: | - pip install -e ".[dev]" - + python -m pip install --upgrade pip + pip install -e . + pip install pytest - name: Run tests - run: pytest tests/ -v - - - name: Run tests with coverage - run: pytest tests/ --cov=json_to_openapi --cov-report=term-missing - - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install linting tools - run: pip install ruff - - - name: Run ruff - run: ruff check . + run: | + python -m pytest tests/ -v