-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from GEOSYS/dev
v0.0.1-rc5 to main
- Loading branch information
Showing
26 changed files
with
736 additions
and
213 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,43 @@ | ||
name: pytest-dev | ||
on: | ||
push: | ||
branches: | ||
- dev | ||
jobs: | ||
pytest: | ||
name: pytest | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Make conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
micromamba-version: 1.5.1-0 | ||
environment-file: requirements_dev.yml | ||
environment-name: earthdaily | ||
create-args: python=${{ matrix.python-version }} | ||
cache-environment: true | ||
post-cleanup: all | ||
init-shell: >- | ||
bash | ||
- name: Installing the library | ||
shell: bash -l {0} | ||
run: | | ||
pip install . | ||
- name: Run tests and coverage | ||
shell: bash -l {0} | ||
env: | ||
EDS_CLIENT_ID: ${{ secrets.EDS_CLIENT_ID }} | ||
EDS_AUTH_URL: ${{ secrets.EDS_AUTH_URL }} | ||
EDS_SECRET: ${{ secrets.EDS_SECRET }} | ||
EDS_API_URL: ${{ secrets.EDS_API_URL }} | ||
run: pytest -v tests --cov=earthdaily |
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,45 @@ | ||
name: pytest-main | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
pytest: | ||
name: pytest | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Make conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
micromamba-version: 1.5.1-0 | ||
environment-file: requirements_dev.yml | ||
environment-name: earthdaily | ||
create-args: python=${{ matrix.python-version }} | ||
cache-environment: true | ||
post-cleanup: all | ||
init-shell: >- | ||
bash | ||
- name: Installing the library | ||
shell: bash -l {0} | ||
run: | | ||
pip install . | ||
- name: Run tests and coverage | ||
shell: bash -l {0} | ||
env: | ||
EDS_CLIENT_ID: ${{ secrets.EDS_CLIENT_ID }} | ||
EDS_AUTH_URL: ${{ secrets.EDS_AUTH_URL }} | ||
EDS_SECRET: ${{ secrets.EDS_SECRET }} | ||
EDS_API_URL: ${{ secrets.EDS_API_URL }} | ||
run: pytest -v tests --cov=earthdaily |
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,26 @@ | ||
name: ruff | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
jobs: | ||
ruff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: chartboost/ruff-action@v1 | ||
with: | ||
src: "./earthdaily" | ||
args: --ignore F401 | ||
- uses: chartboost/ruff-action@v1 | ||
with: | ||
src: "./earthdaily" | ||
args: --ignore F401 | ||
- uses: chartboost/ruff-action@v1 | ||
with: | ||
src: "./earthdaily" | ||
args: format | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: 'gh-actions/python format using ruff' |
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 |
---|---|---|
|
@@ -64,4 +64,5 @@ docs/_* | |
target/ | ||
|
||
# Auth | ||
.env | ||
.env | ||
.vscode/ |
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
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
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,3 +1,3 @@ | ||
from earthdaily import earthdatastore | ||
|
||
__version__ = "0.0.1-rc4" | ||
__version__ = "0.0.1-rc5" |
Oops, something went wrong.