Skip to content

Commit 1ba5616

Browse files
committed
review6
1 parent bea56c0 commit 1ba5616

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

azure/azure-pr-teardown-pipeline.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,8 @@ jobs:
6767
poetry env use 3.11
6868
poetry install --no-root
6969
70-
echo "Setting PYTHONPATH..."
71-
export PYTHONPATH=$(Pipeline.Workspace)/s/$(SERVICE_NAME)/mns_subscription
72-
7370
echo "unsubscribing SQS to MNS for notifications.."
74-
poetry run python src/unsubscribe_mns.py
71+
make unsubscribe
7572
displayName: "Unsubscribe MNS"
7673
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/mns_subscription"
7774
env:

mns_subscription/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
unsubscribe:
3+
@PYTHONPATH=src python src/unsubscribe_mns.py
4+
15
test:
26
@PYTHONPATH=src:tests python -m unittest
37

0 commit comments

Comments
 (0)