mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 02:01:54 +03:00
fixes ci not showing credentials
This commit is contained in:
parent
9104ed4f91
commit
fee71becad
@ -4,11 +4,11 @@ $LEO login -u "$ALEO_PM_USERNAME" -p "$ALEO_PM_PASSWORD"
|
||||
$LEO new my-app && cd my-app || exit 1
|
||||
|
||||
cat Leo.toml
|
||||
which wc
|
||||
|
||||
# verify that in Leo.toml there's a line with $ALEO_PM_USERNAME;
|
||||
# because at the time of calling `leo new` user is logged in and we're expecting substitution
|
||||
[[ $(cat Leo.toml | grep "\[$ALEO_PM_USERNAME\]" | wc -l) -eq 1 ]] || exit 1
|
||||
# verify that in Leo.toml there's no line with [AUTHOR];
|
||||
# since CI does not allow showing credentials, we won't see it in the file;
|
||||
# so the only way to test is to make sure that there's just no [AUTHOR] there
|
||||
[[ $(cat Leo.toml | grep "\[AUTHOR\]" | wc -l) -eq 0 ]] || exit 1
|
||||
|
||||
$LEO add howard/silly-sudoku
|
||||
$LEO remove silly-sudoku
|
||||
|
0
.circleci/r
Normal file
0
.circleci/r
Normal file
Loading…
Reference in New Issue
Block a user