forked from google/earthengine-api
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
782 additions
and
693 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# TODO(user): Fix or skip tests that fail on GitHub | ||
name: ci-tests | ||
on: [ | ||
push, | ||
pull_request, | ||
] | ||
|
||
jobs: | ||
build: | ||
name: "python ${{ matrix.python-version }} tests" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [ | ||
"3.7", | ||
"3.8", | ||
"3.9", | ||
"3.10", | ||
"3.11", | ||
"3.12", | ||
] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Install EE and dependencies | ||
run: | | ||
pip install ./python[tests] | ||
- name: Test | ||
run: | | ||
python -m unittest discover --pattern="*test.py" --start-directory python/ee/tests |
Large diffs are not rendered by default.
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
Oops, something went wrong.