Skip to content

Commit

Permalink
Merge pull request #2 from openweathermap/fix/ci_fix
Browse files Browse the repository at this point in the history
ci fix
  • Loading branch information
SerGeRybakov authored Aug 18, 2023
2 parents 416a176 + bc7e8ea commit 376b8f7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 21 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ on:
- 'refs/tags/v'

jobs:
checks:
uses: openweathermap/deker-actions/.github/workflows/checks.yml@master
tox_tests:
uses: openweathermap/deker-actions/.github/workflows/tox.yml@master
with:
package-name: deker_server_adapters
python-version: '3.9'
package-name: ${{ vars.PACKAGE_NAME }}
min-coverage: 87
12 changes: 1 addition & 11 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@ on:
tags:
- 'v[1-9]+.[0-9]+.[0-9]+'

env:
PACKAGE_NAME: deker_server_adapters

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

build_sdist:
needs: tox_tests
name: Build source distribution
uses: openweathermap/deker-actions/.github/workflows/build.yml@master

Expand All @@ -28,7 +18,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
2 changes: 1 addition & 1 deletion .github/workflows/on_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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
8 changes: 4 additions & 4 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "deker_server_adapters"
version = "0.0.0"
version = "1.0.0"
description = "Plugin with server adapters for Deker"
authors = ["OpenWeather <[email protected]>"]
license = "GPL-3.0-only"
Expand Down

0 comments on commit 376b8f7

Please sign in to comment.