diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3192c77..22c51f2 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,43 +15,19 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.9' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" - - - name: Run tests - run: pytest tests/ -v --cov=config_auditor + pip install -e . + pip install pytest pytest-cov ruff build - name: Run linting run: ruff check config_auditor/ tests/ - build: - needs: test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - cache: 'pip' - - - name: Install dependencies - run: | - pip install --upgrade pip - pip install . + - name: Run tests + run: pytest tests/ -v --cov=config_auditor - name: Build package - run: | - pip install build - python -m build - - - name: Upload package - uses: actions/upload-artifact@v4 - with: - name: dist - path: dist/ + run: python -m build