Skip to content

Remove deprecated squeeze statements #56

Remove deprecated squeeze statements

Remove deprecated squeeze statements #56

Workflow file for this run

name: CI with conda
on: push
jobs:
unit-tests:
name: Python ${{ matrix.python-version }}, ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: 'latest'
environment-file: environment.yml
auto-update-conda: true
python-version: ${{ matrix.python-version }}
auto-activate-base: false
activate-environment: elmada
- name: Run pytest and generate coverage report
env:
ENTSOE_API_KEY: ${{ secrets.ENTSOE_API_KEY }}
MORPH_API_KEY: ${{ secrets.MORPH_API_KEY }}
QUANDL_API_KEY: ${{ secrets.QUANDL_API_KEY }}
shell: bash -l {0}
run: |
pytest -v --cov=elmada --cov-report=xml -m="not apikey" .
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v1
with:
# token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true