[Snyk] Security upgrade pillow from 9.5.0 to 10.0.0 #128
This file contains 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" | |
env: | |
USING_COVERAGE: '3.10' | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- uses: "actions/checkout@v2" | |
- uses: "actions/setup-python@v2" | |
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 pytest | |
python -m pip install --upgrade virtualenv | |
python -m pip install -r requirements.txt | |
python -m pip install -r requirements-dev.txt | |
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@v2" | |
- uses: "actions/setup-python@v2" | |
with: | |
python-version: '3.10' | |
- name: "Install pep517 and twine" | |
run: "python -m pip install --upgrade pip setuptools wheel pytest twine" | |
- name: "Build package" | |
run: "python setup.py sdist bdist_wheel" | |
- name: "List result" | |
run: "ls -l dist" | |
- name: "Check long_description" | |
run: "python -m twine check dist/*" |