Skip to content

Commit 249cda9

Browse files
committed
ignoring dts for e2e and unit tests in pr yml
Signed-off-by: Ryan Lettieri <[email protected]>
1 parent 2bb0d1b commit 249cda9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
flake8 . --count --show-source --statistics --exit-zero
3535
- name: Pytest unit tests
3636
run: |
37-
pytest -m "not e2e and not dts" --verbose
37+
pytest --ignore=test/dts -m "not e2e and not dts" --verbose
3838
3939
# Sidecar for running e2e tests requires Go SDK
4040
- name: Install Go SDK
@@ -47,4 +47,4 @@ jobs:
4747
run: |
4848
go install github.com/microsoft/durabletask-go@main
4949
durabletask-go --port 4001 &
50-
pytest -m "e2e" --verbose
50+
pytest --ignore=test/dts -m "e2e" --verbose

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ init:
22
pip3 install -r requirements.txt
33

44
test-unit:
5-
pytest -m --ignore=test/dts "not e2e" --verbose
5+
pytest --ignore=test/dts -m "not e2e" --verbose
66

77
test-e2e:
8-
pytest -m --ignore=test/dts e2e --verbose
8+
pytest --ignore=test/dts -m e2e --verbose
99

1010
install:
1111
python3 -m pip install .

0 commit comments

Comments
 (0)