Skip to content

Commit

Permalink
test: Add test for west-SOMETHING.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
katomaso committed Nov 28, 2024
1 parent ea72f8a commit 79f447e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ envsubst < local-template/poetry/poetry.lock > local/poetry/poetry.lock
envsubst < local-template/pyproject.toml > local/pyproject.toml
envsubst < local-template/pubspec.yaml > local/pubspec.yaml
envsubst < local-template/west.yml > local/west.yml
envsubst < local-template/west.yml > local/west-SOMETHING.yaml
envsubst < local-template/.gira.yaml > local/.gira.yaml


Expand Down Expand Up @@ -77,6 +78,16 @@ grep OCD-1234 output.txt
grep -v OCD-567 output.txt


echo "-- Test west-SOMETHING.yaml"
git reset --hard
rm -rf .gira_cache output.txt
sed -i 's/1.0.0/1.1.0/g' west-SOMETHING.yaml
gira -c west-SOMETHING.yaml > output.txt
grep dep1-west output.txt
grep OCD-1234 output.txt
grep -v OCD-567 output.txt


echo "-- Test moving from 1.0.0 to 1.1.0 and then to 1.1.1"
git reset --hard
rm -rf .gira_cache output.txt
Expand Down

0 comments on commit 79f447e

Please sign in to comment.