Skip to content

Guaranteeing all time ranges are valid in oneshot #536

Guaranteeing all time ranges are valid in oneshot

Guaranteeing all time ranges are valid in oneshot #536

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
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 docs/requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -e .
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: "Get coverage data by running tests"
run: |
python -m pip install --upgrade pip setuptools wheel pytest
pip install pytest
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- 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