Fix bug with non-numeric data for agg function #59
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 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 |