Skip to content

use patrol_id as groupby in get_patrol_obs #1518

use patrol_id as groupby in get_patrol_obs

use patrol_id as groupby in get_patrol_obs #1518

Workflow file for this run

name: Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
jobs:
Test:
name: ${{ matrix.os }}, ${{ matrix.env }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -leo pipefail {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
env: [environment.yml]
steps:
- uses: actions/checkout@v4
- name: Setup Micromamba
uses: mamba-org/[email protected]
with:
# https://github.com/mamba-org/setup-micromamba/issues/227
micromamba-version: 1.5.10-0
environment-file: ${{ matrix.env }}
cache-environment: true
cache-downloads: true
init-shell: bash
- name: Install pip dependencies and our package
shell: bash -leo pipefail {0}
run: |
python -m pip install ".[all]"
- 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@v4