Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/sg 000 release version verify test fix #613

Merged
merged 8 commits into from
Jan 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ jobs:
parameters:
py_version:
type: string
dev_venv_name:
type: string
default: "dev-sg-${CIRCLE_BUILD_NUM}"
docker:
- image: cimg/python:<< parameters.py_version >>
steps:
- deci-common/checkout_and_skip_build:
check_version_file: true
- run:
name: verify __version__
command: python3 tests/verify_version.py $CIRCLE_TAG
- run:
name: add requirements.txt and requirements.pro.txt to source code
command: |
Expand All @@ -344,6 +344,12 @@ jobs:
- deci-common/pip_test_package_installation_codeartifact_dev:
package_name: "super-gradients"
version: $CIRCLE_TAG
venv_name: << parameters.dev_venv_name >>
- run:
name: verify that the output of __version__ is what we expect
command: |
. << parameters.dev_venv_name >>-super-gradients-$CIRCLE_TAG/bin/activate
python3 tests/verify_version.py $CIRCLE_TAG

- deci-common/pip_test_package_installation_codeartifact_prod:
package_name: "super-gradients"
Expand Down Expand Up @@ -402,8 +408,6 @@ jobs:
command: "rm -r << parameters.sg_new_env_name >>"
when: on_fail



workflows:
release:
jobs:
Expand Down