return event types as df and use event_id as index in get_events #748
Workflow file for this run
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: Tests | |
on: [push, pull_request] | |
jobs: | |
Test: | |
environment: Testing | |
name: ${{ matrix.os }}, ${{ matrix.env }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
env: [environment.yml] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Micromamba | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: ${{ matrix.env }} | |
- name: Test | |
env: | |
ER_USERNAME: ${{ secrets.ER_USERNAME }} | |
ER_PASSWORD: ${{ secrets.ER_PASSWORD }} | |
EE_ACCOUNT: ${{ secrets.EE_ACCOUNT }} | |
EE_PRIVATE_KEY_DATA: ${{ secrets.EE_PRIVATE_KEY_DATA }} | |
run: | | |
pytest -v -r s --color=yes --cov=ecoscope --cov-append --cov-report=xml | |
- name: Codecov | |
uses: codecov/codecov-action@v3 |