Skip to content

Commit 76307eb

Browse files
committed
Removing suspend and continue as new tests from dts
Signed-off-by: Ryan Lettieri <[email protected]>
1 parent cb824d8 commit 76307eb

File tree

3 files changed

+563
-563
lines changed

3 files changed

+563
-563
lines changed
Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3-
4-
name: Build Validation
5-
6-
on:
7-
push:
8-
branches: [ "main" ]
9-
pull_request:
10-
branches: [ "main" ]
11-
merge_group:
12-
13-
jobs:
14-
build:
15-
16-
runs-on: ubuntu-latest
17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
21-
22-
steps:
23-
- uses: actions/checkout@v4
24-
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@v5
26-
with:
27-
python-version: ${{ matrix.python-version }}
28-
- name: Install durabletask dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
pip install flake8 pytest
32-
pip install -r requirements.txt
33-
- name: Install durabletask-azuremanaged dependencies
34-
working-directory: examples/dts
35-
run: |
36-
python -m pip install --upgrade pip
37-
pip install -r requirements.txt
38-
- name: Lint with flake8
39-
run: |
40-
flake8 . --count --show-source --statistics --exit-zero
41-
- name: Pytest unit tests
42-
working-directory: tests/durabletask
43-
run: |
44-
pytest -m "not e2e and not dts" --verbose
45-
46-
# Sidecar for running e2e tests requires Go SDK
47-
- name: Install Go SDK
48-
uses: actions/setup-go@v5
49-
with:
50-
go-version: 'stable'
51-
52-
# Install and run the durabletask-go sidecar for running e2e tests
53-
- name: Pytest e2e tests
54-
working-directory: tests/durabletask
55-
run: |
56-
go install github.com/microsoft/durabletask-go@main
57-
durabletask-go --port 4001 &
58-
pytest -m "e2e and not dts" --verbose
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Build Validation
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
merge_group:
12+
13+
jobs:
14+
build:
15+
16+
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install durabletask dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
pip install flake8 pytest
32+
pip install -r requirements.txt
33+
- name: Install durabletask-azuremanaged dependencies
34+
working-directory: examples/dts
35+
run: |
36+
python -m pip install --upgrade pip
37+
pip install -r requirements.txt
38+
- name: Lint with flake8
39+
run: |
40+
flake8 . --count --show-source --statistics --exit-zero
41+
- name: Pytest unit tests
42+
working-directory: tests/durabletask
43+
run: |
44+
pytest -m "not e2e and not dts" --verbose
45+
46+
# Sidecar for running e2e tests requires Go SDK
47+
- name: Install Go SDK
48+
uses: actions/setup-go@v5
49+
with:
50+
go-version: 'stable'
51+
52+
# Install and run the durabletask-go sidecar for running e2e tests
53+
- name: Pytest e2e tests
54+
working-directory: tests/durabletask
55+
run: |
56+
go install github.com/microsoft/durabletask-go@main
57+
durabletask-go --port 4001 &
58+
pytest -m "e2e and not dts" --verbose

examples/dts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ In order to use the emulator for the examples, perform the following steps:
6565

6666
4. Set the environment variables that are referenced and used in the examples:
6767
1. If you are using windows powershell:
68-
`$env:TASKHUB=default`
69-
`$env:ENDPOINT=http://localhost:8080`
68+
`$env:TASKHUB="default"`
69+
`$env:ENDPOINT="http://localhost:8080"`
7070
2. If you are using bash:
7171
`export TASKHUB=default`
7272
`export ENDPOINT=http://localhost:8080`

0 commit comments

Comments
 (0)