Skip to content

Commit

Permalink
Ignore docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aazuspan committed Dec 21, 2023
1 parent 4d4f86a commit 7040769
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
9 changes: 0 additions & 9 deletions .github/scripts/make_ee_token.py

This file was deleted.

13 changes: 9 additions & 4 deletions .github/workflows/tests-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: tests-coverage

on: pull_request
on:
pull_request:
paths-ignore:
- 'docs/**'
- '**.rst'

jobs:
build:
Expand All @@ -17,11 +21,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Store EE token
run: |
python ./.github/scripts/make_ee_token.py
- name: Set up Earth Engine
env:
EE_TOKEN: ${{ secrets.EE_TOKEN }}
run: |
mkdir -p /home/runner/.config/earthengine
echo "$EE_TOKEN" > /home/runner/.config/earthengine/credentials
- name: Test with pytest
run: |
hatch run test:coverage --cov-report=xml
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: tests

on: push
on:
push:
paths-ignore:
- 'docs/**'
- '**.rst'

jobs:
build:
Expand All @@ -20,11 +24,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Store EE token
run: |
python ./.github/scripts/make_ee_token.py
- name: Set up Earth Engine
env:
EE_TOKEN: ${{ secrets.EE_TOKEN }}
run: |
mkdir -p /home/runner/.config/earthengine
echo "$EE_TOKEN" > /home/runner/.config/earthengine/credentials
- name: Test with pytest
run: |
hatch run test:all

0 comments on commit 7040769

Please sign in to comment.