Skip to content

Commit 3c6b3b1

Browse files
committed
Adding requirements.txt
Signed-off-by: Ryan Lettieri <[email protected]>
1 parent e1af656 commit 3c6b3b1

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/publish-dts-sdk.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: Publish Durable Task Scheduler to PyPI
1+
name: Publish Durable Task Scheduler to PyPI (TEST)
22

33
on:
44
push:
5-
tags:
6-
- 'azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
78

89
jobs:
910
lint:
@@ -15,7 +16,6 @@ jobs:
1516
with:
1617
python-version: 3.12
1718
- name: Install dependencies
18-
working-directory: durabletask-azuremanaged
1919
run: |
2020
python -m pip install --upgrade pip
2121
pip install setuptools wheel tox
@@ -47,8 +47,14 @@ jobs:
4747
echo "TASKHUB=default" >> $GITHUB_ENV
4848
echo "ENDPOINT=http://localhost:8080" >> $GITHUB_ENV
4949
50+
- name: Install dependencies
51+
working-directory: examples/dts
52+
run: |
53+
python -m pip install --upgrade pip
54+
pip install -r requirements.txt
55+
5056
- name: Run the tests
51-
working-directory: durabletask-azuremanaged
57+
working-directory: examples/dts
5258
run: python -m dts_activity_sequence
5359

5460

@@ -88,4 +94,4 @@ jobs:
8894
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_AZUREMANAGED }} # Store your PyPI API token in GitHub Secrets
8995
working-directory: durabletask-azuremanaged
9096
run: |
91-
twine upload dist/*
97+
twine upload dist/*

0 commit comments

Comments
 (0)