Bump pygments from 2.19.2 to 2.20.0 #359
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI (NegMAS Github) | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| branches: ["*"] | |
| jobs: | |
| tests: | |
| name: "Python ${{ matrix.python-version }}" | |
| runs-on: "ubuntu-latest" | |
| timeout-minutes: 120 | |
| env: | |
| USING_COVERAGE: "3.12" | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - uses: "actions/setup-python@v5" | |
| with: | |
| python-version: "${{ matrix.python-version }}" | |
| - name: "Install dependencies" | |
| run: | | |
| set -xe | |
| python -VV | |
| python -m site | |
| python -m pip install --upgrade pip setuptools wheel | |
| python -m pip install -e ".[dev]" | |
| python -m ipykernel install --user --name=scml | |
| yes | python -m pip uninstall negmas | |
| python -m pip install git+https://github.com/yasserfarouk/negmas.git | |
| - name: "Run pytest for ${{ matrix.python-version }}" | |
| run: "python -m pytest tests" | |
| package: | |
| name: "Build & verify package" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: "actions/checkout@v4" | |
| - uses: "actions/setup-python@v5" | |
| with: | |
| python-version: "3.12" | |
| - name: "Install build tools" | |
| run: "python -m pip install --upgrade pip build twine" | |
| - name: "Build package" | |
| run: "python -m build" | |
| - name: "List result" | |
| run: "ls -l dist" | |
| - name: "Check long_description" | |
| run: "python -m twine check dist/*" |