-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
45 additions
and
56 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,16 +94,16 @@ jobs: | |
# this point. | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: Install package with dependencies | ||
uses: ./.github/actions/install-pkg | ||
- name: Setup nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
python-versions: ${{ matrix.python-version }} | ||
|
||
- name: Run integration tests | ||
env: | ||
EARTHDATA_USERNAME: ${{ secrets.EDL_USERNAME }} | ||
EARTHDATA_PASSWORD: ${{ secrets.EDL_PASSWORD }} | ||
run: ./scripts/integration-test.sh | ||
run: nox -s integration-tests -- --cov=earthaccess --cov-report=term-missing --capture=no --tb=native --log-cli-level=INFO | ||
|
||
- name: Upload coverage report | ||
# Don't upload coverage when using the `act` tool to run the workflow locally | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,8 @@ jobs: | |
version: "0.4.7" | ||
enable-cache: true | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
- name: Setup nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-version: 3.9 | ||
|
||
|
@@ -39,7 +39,7 @@ jobs: | |
run: uv pip install --no-deps . | ||
|
||
- name: Test | ||
run: uv run pytest tests/unit --cov=earthaccess --cov=tests --cov-report=term-missing --capture=no --tb=native --log-cli-level=INFO | ||
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 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,16 @@ jobs: | |
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- uses: ./.github/actions/install-pkg | ||
- name: Setup nox | ||
uses: wntrblm/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
python-versions: ${{ matrix.python-version }} | ||
|
||
- name: Typecheck | ||
run: mypy | ||
run: nox -s typecheck | ||
|
||
- name: Test | ||
run: pytest tests/unit --verbose --cov=earthaccess --cov-report=term-missing --capture=no --tb=native --log-cli-level=INFO | ||
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 | ||
|
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
This file was deleted.
Oops, something went wrong.
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