Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Rybakov committed Aug 18, 2023
1 parent 416a176 commit bc7e8ea
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 bc7e8ea

Please sign in to comment.