-
Notifications
You must be signed in to change notification settings - Fork 5
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
4 changed files
with
112 additions
and
9 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,35 @@ | ||
# This workflow will upload a Python Package using Twine when a release tag is created | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries | ||
|
||
name: Build and upload cropclassification to pypi | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN_GITHUB_CROPCLASSIFICATION }} |
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,69 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a single version of Python | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: [ main, v0.** ] | ||
pull_request: | ||
branches: [ main, v0.** ] | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Linting: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: pre-commit/[email protected] | ||
|
||
Test: | ||
needs: Linting | ||
name: ${{ matrix.os }}, ${{ matrix.env }} | ||
timeout-minutes: 30 | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
dev: [false] | ||
env: | ||
- ci/envs/38-latest-conda-forge.yaml | ||
- ci/envs/39-latest-conda-forge.yaml | ||
- ci/envs/310-latest-conda-forge.yaml | ||
- ci/envs/311-latest-conda-forge.yaml | ||
include: | ||
- env: ci/envs/38-minimal.yaml | ||
os: ubuntu-latest | ||
dev: false | ||
- env: ci/envs/39-latest-conda-forge.yaml | ||
os: macos-latest | ||
dev: false | ||
- env: ci/envs/39-latest-conda-forge.yaml | ||
os: windows-latest | ||
dev: false | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Conda environment with Micromamba | ||
uses: mamba-org/provision-with-micromamba@main | ||
with: | ||
environment-file: ${{ matrix.env }} | ||
|
||
- name: Test | ||
run: | | ||
pytest --color=yes --cov=geofileops --cov-append --cov-report term-missing --cov-report xml tests/ | ||
- uses: codecov/codecov-action@v3 | ||
|
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 |
---|---|---|
@@ -1,18 +1,17 @@ | ||
# CHANGELOG | ||
|
||
## 0.1.0 (???) | ||
## 0.1.1 (2023-08-08) | ||
|
||
### Improvements | ||
|
||
- Clip s2 and s1 timeseries values to one to avoid outliers > 1 (#47) | ||
- Change default time_dimension_reducer to mean for both s1 and s2 (#48) | ||
|
||
## 0.1.0 | ||
### Improvements | ||
|
||
- Add support to use openeo for image retrieval/calculation (#36) | ||
- Improve performance of zonal_stats_bulk (#38) | ||
- Use black to comply to pep8 + minor general improvements (#13) | ||
- Upgrade all dependencies (#12) | ||
- Add support for pandas 2.0 (#21) | ||
|
||
### Bugs fixed | ||
|
||
- | ||
|
||
### Deprecations and compatibility notes | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.1.0a2 | ||
0.1.1 |