Skip to content

Commit

Permalink
test coverage and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Rybakov committed Aug 18, 2023
1 parent 154edce commit 45d16de
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 40 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:
- 'refs/tags/v'

jobs:
build_docs:
uses: openweathermap/deker-actions/.github/workflows/docs_build.yml@master

checks:
uses: openweathermap/deker-actions/.github/workflows/checks.yml@master
with:
package-name: deker
package-name: ${{ vars.PACKAGE_NAME }}
python-version: '3.9'
min-coverage: 96
7 changes: 2 additions & 5 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ on:
tags:
- 'v[1-9]+.[0-9]+.[0-9]+'

env:
PACKAGE_NAME: deker

jobs:
tox_tests:
uses: openweathermap/deker-actions/.github/workflows/tox.yml@master
with:
package-name: $PACKAGE_NAME
package-name: ${{ vars.PACKAGE_NAME }}
min-coverage: 96

build_docs:
Expand All @@ -36,7 +33,7 @@ jobs:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/$PACKAGE_NAME
url: https://pypi.org/p/${{ vars.PACKAGE_NAME }}

steps:
- uses: actions/download-artifact@v3
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/on_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
tags-ignore:
- 'v[1-9]+.[0-9]+.[0-9]+'

env:
PACKAGE_NAME: deker

jobs:
build_sdist:
name: Build test source distribution
Expand All @@ -21,7 +18,7 @@ jobs:
id-token: write
environment:
name: testpypi
url: https://test.pypi.org/p/$PACKAGE_NAME
url: https://test.pypi.org/p/${{ vars.PACKAGE_NAME }}

steps:
- uses: actions/download-artifact@v3
Expand Down
40 changes: 15 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,10 @@ attrs = "^23.1.0"
typing-extensions = "^4.4.0"
tqdm = "^4.64.1"
psutil = "^5.9.5"
xarray = {version = "^2023.5.0", optional = true}
#deker-local-adapters = "1.0.1"
deker-local-adapters = {version = "^1.0.1b2", source = "TestPyPI"}
#deker-server-adapters = {version = "^1.0.0r", optional = true}
deker-server-adapters = {version = "^1.0.0rc0", optional = true, source = "TestPyPI"}
deker-local-adapters = "1.0.1"
deker-server-adapters = {version = "^1.0.0", optional = true}
deker-shell = { version = "^1.0.0", optional = true }
xarray = {version = "^2023.5.0", optional = true}

[tool.poetry.group.dev.dependencies]
black = "23.1.0"
Expand Down

0 comments on commit 45d16de

Please sign in to comment.