Skip to content

fix: docs/requirements.txt to reduce vulnerabilities #826

fix: docs/requirements.txt to reduce vulnerabilities

fix: docs/requirements.txt to reduce vulnerabilities #826

Workflow file for this run

name: Coverage
on: [push]
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Generate coverage report
run: |
set -xe
ulimit -n 50000
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel pytest
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m ipykernel install --user --name=negmas
python -m pip install -e .
# negmas genius-setup
# export NEGMAS_SLOW_TEST=True
# export NEGMAS_BRIDGE_OPS
# unset NEGMAS_BRIDGE_OPS
# python -W ignore -m pytest negmas tests || python -W ignore -m pytest --last-failed .
# export NEGMAS_BRIDGE_OPS=True
# python -W ignore -m pytest tests/test_genius_bridge.py || python -W ignore -m pytest --last-failed .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.codecov }}
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false