services/utils/nisar_orbit_ephemera endpoint, asf-search v12.0.6
#69
This file contains hidden or 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: SearchAPI pytest suite | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: | |
| - test | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths: | |
| - 'src/**.py' | |
| # - 'cdk/**.py' | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| shell: bash | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| python -m pip install -r tests/requirements.txt | |
| python -m pip install . | |
| - name: run tests | |
| shell: bash | |
| run: | | |
| pytest -n auto tests/yml_tests/ \ | |
| --df bugs --df prod_only --cov \ | |
| --reruns 3 --reruns-delay 10 --only-rerun CMR_TIMEOUT \ | |
| --cov-branch --cov-report=xml | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false | |
| files: ./coverage.xml | |
| flags: unittests | |
| name: asf_admin searchAPI-v3 pytest | |
| verbose: true |