Skip to content

Refactor integration tests to remove random collection sampling #1234

Refactor integration tests to remove random collection sampling

Refactor integration tests to remove random collection sampling #1234

Workflow file for this run

name: Unit test minimum dependencies
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
# When this workflow is queued, automatically cancel any previous running
# or pending jobs from the same branch
concurrency:
group: test-mindeps-${{ github.ref }}
cancel-in-progress: true
jobs:
test-mindeps:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout source
uses: actions/[email protected]
- name: Install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
- name: Setup nox
uses: wntrblm/[email protected]
with:
python-versions: "3.10"
- name: Test
run: nox -s test-min-deps -- --verbose --cov=earthaccess --cov-report=term-missing --capture=no --tb=native --log-cli-level=INFO
- name: Upload coverage
# Don't upload coverage when using the `act` tool to run the workflow locally
if: ${{ !env.ACT }}
uses: codecov/codecov-action@v4