Skip to content

Commit

Permalink
Update continuous_delivery.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharbar1 authored Aug 21, 2024
1 parent a89c46d commit e0fbaf5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/continuous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,14 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.poetry/bin:$PATH"
- name: Install project dependencies with Poetry
run: |
poetry install
- name: Style check
run: |
# run pre-commit hooks
poetry run pre-commit run --all-files
- name: Run tests
run: |
poetry run pytest -vv -k 'not time and not update_parallel'
- name: Extract version from pyproject.toml
id: extract_version
run: |
VERSION=$(poetry version -s)
echo "PACKAGE_VERSION=${VERSION}" >> $GITHUB_ENV
- name: Verify if version has changed
id: version_check
run: |
Expand All @@ -58,7 +46,7 @@ jobs:
fi
- name: Verify whether to publish
run: |
if [ ! (${{ matrix.enable_publish }}) ] || [ ! (${{ steps.version_check.outcome }} == "success") ]; then
if [ ! (( ${{ matrix.enable_publish }} )) ] || [ ! (( ${{ steps.version_check.outcome }} == "success" )) ]; then
exit 0
fi
- name: Build and publish to pypi
Expand Down

0 comments on commit e0fbaf5

Please sign in to comment.