File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed
Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 2424 working-directory : durabletask-azuremanaged
2525 run : flake8 .
2626
27- publish :
27+
28+ run-docker-tests :
2829 needs : lint
2930 runs-on : ubuntu-latest
31+ steps :
32+ - name : Checkout repository
33+ uses : actions/checkout@v4
34+
35+ - name : Pull Docker image
36+ run : docker pull mcr.microsoft.com/dts/dts-emulator:v0.0.4
37+
38+ - name : Run Docker container
39+ run : |
40+ docker run --name dtsemulator -d -p 8080:8080 mcr.microsoft.com/dts/dts-emulator:v0.0.4
41+
42+ - name : Wait for container to be ready
43+ run : sleep 10 # Adjust if your service needs more time to start
44+
45+ - name : Set environment variables
46+ run : |
47+ echo "TASKHUB=default" >> $GITHUB_ENV
48+ echo "ENDPOINT=http://localhost:8080" >> $GITHUB_ENV
49+
50+ - name : Run the tests
51+ working-directory : durabletask-azuremanaged
52+ run : python -m dts_activity_sequence
53+
54+
55+ publish :
56+ needs : run-docker-tests
57+ runs-on : ubuntu-latest
3058 steps :
3159 - name : Checkout code
3260 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ autopep8
2+ grpcio >= 1.60.0 # 1.60.0 is the version introducing protobuf 1.25.X support, newer versions are backwards compatible
3+ protobuf
4+ pytest
5+ pytest-cov
6+ azure-identity
7+ durabletask-azuremanaged
8+ durabletask
You can’t perform that action at this time.
0 commit comments