File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 3434 working-directory : examples
3535 run : flake8 .
3636
37- run-e2e- tests :
37+ run-tests :
3838 strategy :
3939 fail-fast : false
4040 matrix :
@@ -44,12 +44,25 @@ jobs:
4444 steps :
4545 - name : Checkout repository
4646 uses : actions/checkout@v4
47+ - name : Set up Python ${{ matrix.python-version }}
48+ uses : actions/setup-python@v5
49+ with :
50+ python-version : ${{ matrix.python-version }}
51+ - name : Install durabletask dependencies and the library itself
52+ run : |
53+ python -m pip install --upgrade pip
54+ pip install flake8 pytest
55+ pip install -r requirements.txt
56+ pip install .
57+ - name : Pytest unit tests
58+ working-directory : tests/durabletask
59+ run : |
60+ pytest -m "not e2e and not dts" --verbose
4761 # Sidecar for running e2e tests requires Go SDK
4862 - name : Install Go SDK
4963 uses : actions/setup-go@v5
5064 with :
5165 go-version : ' stable'
52-
5366 # Install and run the durabletask-go sidecar for running e2e tests
5467 - name : Pytest e2e tests
5568 working-directory : tests/durabletask
6073
6174 publish :
6275 if : startsWith(github.ref, 'refs/tags/v') # Only run if a matching tag is pushed
63- needs : run-e2e- tests
76+ needs : run-tests
6477 runs-on : ubuntu-latest
6578 steps :
6679 - name : Checkout code
You can’t perform that action at this time.
0 commit comments