Skip to content

complete unit tests - #587

Merged
gkorland merged 7 commits into
masterfrom
gkorland-unitteset-2
Dec 27, 2021
Merged

gkorland merged 7 commits into
masterfrom
gkorland-unitteset-2

Conversation

@gkorland

Copy link
Copy Markdown
Contributor

No description provided.

@gkorland
gkorland requested a review from oshadmi December 23, 2021 21:58
Comment thread .circleci/config.yml
Comment on lines 155 to +156
bash -l -c "python3 -m RLTest --version"
bash -l -c "make pytest"
bash -l -c "make test"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can state shell: /bin/bash -l -eo pipefail (parallel to command:) and avoid repeating the bash -l -c thing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this how it's being used through out the scripts...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gkorland The reason for bash -l is that it enables execution of scripts that were put in /etc/profile.d by various setup tools. CircleCI makes it possible to change the way bash is invoked for the whole run scriptlet, hence enabling bash -l for all commands at once.

@gkorland
gkorland requested a review from rafie December 24, 2021 08:48
@gkorland
gkorland merged commit ed4c752 into master Dec 27, 2021
@gkorland
gkorland deleted the gkorland-unitteset-2 branch December 27, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants