Skip to content

Fixing bug due to inclusive end date #154

Fixing bug due to inclusive end date

Fixing bug due to inclusive end date #154

Workflow file for this run

name: Test and Lint
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: 3.13
channels: conda-forge
- name: Install Dependencies
shell: bash -el {0}
run: |
conda install ipopt
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
shell: bash -el {0}
run: |
pytest --cov-report xml --cov=eeco eeco/tests/ -vv
codecov -t ${{ secrets.CODECOV_TOKEN }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.13
uses: actions/setup-python@v1
with:
python-version: 3.13
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Lint with flake8
run: |
flake8 eeco --count --verbose --show-source --statistics
- name: Check with black
run: |
black --check eeco