Skip to content

Merge pull request #907 from mitchstartzel/edl-link-fix #1944

Merge pull request #907 from mitchstartzel/edl-link-fix

Merge pull request #907 from mitchstartzel/edl-link-fix #1944

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
fail-fast: false
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/[email protected]
with:
enable-cache: true
- name: Setup nox
uses: wntrblm/[email protected]
with:
python-versions: ${{ matrix.python-version }}
- name: Typecheck
run: nox -s typecheck
- name: Test
run: nox -s tests -- --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