Skip to content

Commit

Permalink
build: add a prerelease template
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Sep 11, 2024
1 parent 7b5862b commit 4c45581
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Schedule

on:
schedule:
# Runs every Sunday at 18:00 (UTC time)
- cron: "0 18 * * 0"
workflow_dispatch:

env:
EARTHENGINE_SERVICE_ACCOUNT: ${{ secrets.EARTHENGINE_SERVICE_ACCOUNT }}
EARTHENGINE_PROJECT: ${{ secrets.EARTHENGINE_PROJECT }}

jobs:
prerelease:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: pip install .[test]
- name: Install EE pre-release
run: pip install --pre earthengine-api
- name: Install nox
run: pip install nox
- name: test with pytest
run: nox -s test --no-venv

0 comments on commit 4c45581

Please sign in to comment.