Skip to content

Commit 0a76709

Browse files
authored
Create ee-test-with-oauth2.yml
1 parent 850369f commit 0a76709

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test Earth Engine Script
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v2
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: 3.11
18+
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install earthengine-api
23+
24+
- name: Run Earth Engine Script
25+
env:
26+
EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }}
27+
run: |
28+
python ee-test-with-oauth2.py

0 commit comments

Comments
 (0)