Skip to content

Commit

Permalink
gihub action update
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>

action update

Signed-off-by: Tullio Sebastiani <[email protected]>

delta on test

Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Sep 16, 2024
1 parent 6dfe4df commit a7d1cc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,14 @@ jobs:
--set security.tls.autoGenerated=true
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Update version number
if: startsWith(github.ref, 'refs/tags/')
run: |
sed -i -e "s/0.0.0/${GITHUB_REF##*/}/" pyproject.toml
# always replaces the version with the latest tag
# both for testing and version release
sed -i -e "s/0.0.0/$(git describe --tags --abbrev=0 | sed 's/^v//')/" pyproject.toml
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion src/krkn_lib/tests/test_krkn_kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ def test_deploy_syn_flood(self):
first=end - start,
second=test_duration,
places=None,
delta=1.7,
delta=2,
)

def test_select_services_by_label(self):
Expand Down

0 comments on commit a7d1cc7

Please sign in to comment.