Skip to content

Commit 7337186

Browse files
committed
Removing PYTHONPATH and installing regular deps
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
1 parent 9628875 commit 7337186

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Pytest unit tests
4242
working-directory: tests/durabletask
4343
run: |
44-
PYTHONPATH=$GITHUB_WORKSPACE pytest -m "not e2e and not dts" --verbose
44+
pytest -m "not e2e and not dts" --verbose
4545
4646
# Sidecar for running e2e tests requires Go SDK
4747
- name: Install Go SDK
@@ -55,4 +55,4 @@ jobs:
5555
run: |
5656
go install github.com/microsoft/durabletask-go@main
5757
durabletask-go --port 4001 &
58-
PYTHONPATH=$GITHUB_WORKSPACE pytest -m "e2e and not dts" --verbose
58+
pytest -m "e2e and not dts" --verbose

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ jobs:
5454
echo "TASKHUB=default" >> $GITHUB_ENV
5555
echo "ENDPOINT=http://localhost:8080" >> $GITHUB_ENV
5656
57-
- name: Install dependencies
57+
- name: Install durabletask dependencies
58+
run: |
59+
python -m pip install --upgrade pip
60+
pip install flake8 pytest
61+
pip install -r requirements.txt
62+
63+
- name: Install durabletask-azuremanaged dependencies
5864
working-directory: examples/dts
5965
run: |
6066
python -m pip install --upgrade pip
@@ -63,7 +69,7 @@ jobs:
6369
- name: Run the tests
6470
working-directory: tests/durabletask-azuremanaged
6571
run: |
66-
PYTHONPATH=$GITHUB_WORKSPACE pytest -m "dts" --verbose
72+
pytest -m "dts" --verbose
6773
6874
publish:
6975
needs: run-docker-tests

0 commit comments

Comments
 (0)