Skip to content

Commit

Permalink
Bugfix/sg 000 release version verify test fix (#613)
Browse files Browse the repository at this point in the history
* config fixed

* testing

* testing

* testing

* testing

* testing

* a working flow

Co-authored-by: shayaharon <shay.aharon@deci.ai>
  • Loading branch information
ranrubin and shaydeci committed Jan 11, 2023
1 parent 09fc7d9 commit b54a9ad
Showing 1 changed file with 9 additions and 5 deletions.
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

0 comments on commit b54a9ad

Please sign in to comment.