File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed
Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 3737 pip install -r requirements.txt
3838 - name : Lint with flake8
3939 run : |
40- flake8 . --count --show-source --statistics --exit-zero
40+ flake8 . --count --show-source --statistics
4141 - name : Pytest unit tests
4242 working-directory : tests/durabletask
4343 run : |
Original file line number Diff line number Diff line change 55 tags :
66 - ' azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
77
8- # on:
9- # push:
10- # branches: [ "main" ]
11- # pull_request:
12- # branches: [ "main" ]
13-
8+ on :
9+ push :
10+ branches : [ "main" ]
11+ pull_request :
12+ branches : [ "main" ]
1413
1514jobs :
1615 lint :
@@ -31,20 +30,21 @@ jobs:
3130 working-directory : durabletask-azuremanaged
3231 run : flake8 .
3332
34-
3533 run-docker-tests :
34+ env :
35+ EMULATOR_VERSION : " v0.0.4" # Define the variable
3636 needs : lint
3737 runs-on : ubuntu-latest
3838 steps :
3939 - name : Checkout repository
4040 uses : actions/checkout@v4
4141
4242 - name : Pull Docker image
43- run : docker pull mcr.microsoft.com/dts/dts-emulator:v0.0.4
43+ run : docker pull mcr.microsoft.com/dts/dts-emulator:$EMULATOR_VERSION
4444
4545 - name : Run Docker container
4646 run : |
47- docker run --name dtsemulator -d -p 8080:8080 mcr.microsoft.com/dts/dts-emulator:v0.0.4
47+ docker run --name dtsemulator -d -p 8080:8080 mcr.microsoft.com/dts/dts-emulator:$EMULATOR_VERSION
4848
4949 - name : Wait for container to be ready
5050 run : sleep 10 # Adjust if your service needs more time to start
Original file line number Diff line number Diff line change 11autopep8
22grpcio >= 1.60.0 # 1.60.0 is the version introducing protobuf 1.25.X support, newer versions are backwards compatible
33protobuf
4- pytest
5- pytest-cov
64azure-identity
75durabletask-azuremanaged
86durabletask
You can’t perform that action at this time.
0 commit comments