mcp-wcgw

by rusiaaman
Verified
name: Python Test on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: submodules: recursive - name: Set up Python uses: actions/setup-python@v3 with: python-version: "${{ matrix.python-version }}" - name: Install dependencies run: | pip install uv uv venv --python "${{ matrix.python-version }}" - name: Run tests with coverage run: | uv run --python "${{ matrix.python-version }}" pytest --cov=wcgw --cov-report=xml --cov-report=term-missing - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 if: success() env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}